36 #ifndef NEKTAR_MESHUTILS_EXTLIBINTERFACE_TRIANGLEINTERFACE_H
37 #define NEKTAR_MESHUTILS_EXTLIBINTERFACE_TRIANGLEINTERFACE_H
39 #include <boost/shared_ptr.hpp>
49 namespace NekMeshUtils
68 void Assign(std::vector<std::vector<NodeSharedPtr> > &boundingloops,
87 void Mesh(
bool Quality =
false);
92 void Extract(std::vector<std::vector<NodeSharedPtr> > &Connec);
std::vector< Array< OneD, NekDouble > > m_centers
Coordinates of the centers of the loops.
void Mesh(bool Quality=false)
Execute meshing.
class for interfacing with external library triangle
void Extract(std::vector< std::vector< NodeSharedPtr > > &Connec)
Extract mesh.
boost::shared_ptr< TriangleInterface > TriangleInterfaceSharedPtr
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.
DelaunayTriangle dt
Triangle data strucutres.
NekDouble m_str
Stretching factor of parameter plane.
void AssignStiener(std::vector< NodeSharedPtr > stiner)
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.