/*
    C++ Mesh Generation Library
    Copyright (c) 2000echet <eric at bechet dot ca>

    This file is part of the C++ Mesh Generation Library.

    See the NOTICE & LICENSE files for conditions.
*/
#include "AOMDNode.h"
#include "AOMDElement.h"
namespace FM
{
  void AOMDNode::GetNeighbors ( int dim,vector<AOMDElement> &tab ) const
  {
    int szed=aomdv->size ( dim );

    for ( int ed=0; ed<szed; ed++ )
    {
      AOMD::mEntity *ped=aomdv->get ( dim,ed );
      tab.push_back ( AOMDElement ( ped ) );
    }
  }
}
 
