36 #ifndef NEKTAR_MESHUTILS_EXTLIBINTERFACE_TRIANGLEINTERFACE_H 
   37 #define NEKTAR_MESHUTILS_EXTLIBINTERFACE_TRIANGLEINTERFACE_H 
   39 #include <boost/shared_ptr.hpp> 
   47 #define ANSI_DECLARATORS 
   57 namespace NekMeshUtils
 
   76     void Assign(std::vector<std::vector<NodeSharedPtr> > &boundingloops,
 
   95     void Mesh(
bool Quiet = 
true, 
bool Quality = 
false);
 
  100     void Extract(std::vector<std::vector<NodeSharedPtr> > &Connec);
 
  121     struct triangulateio                     in, 
out;
 
std::vector< Array< OneD, NekDouble > > m_centers
Coordinates of the centers of the loops. 
 
class for interfacing with external library triangle 
 
void Extract(std::vector< std::vector< NodeSharedPtr > > &Connec)
Extract mesh. 
 
boost::shared_ptr< TriangleInterface > TriangleInterfaceSharedPtr
 
void Mesh(bool Quiet=true, bool Quality=false)
Execute meshing. 
 
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
 
std::vector< std::vector< NodeSharedPtr > > m_boundingloops
List of bounding nodes to the surface. 
 
std::map< int, NodeSharedPtr > nodemap
Map from NekMesh id to triangle id. 
 
std::vector< NodeSharedPtr > m_stienerpoints
List of additional nodes. 
 
TriangleInterface()
default constructor 
 
void SetUp()
Clear memory. 
 
NekDouble m_str
Stretching factor of parameter plane. 
 
void AssignStiener(std::vector< NodeSharedPtr > stiner)
 
struct triangulateio in out
Triangle data strucutres. 
 
void Assign(std::vector< std::vector< NodeSharedPtr > > &boundingloops, std::vector< Array< OneD, NekDouble > > ¢ers, int i, NekDouble str=1.0)
assign meshing paramters 
 
int sid
ID of the surface.