36 #ifndef NEKTAR_MESHUTILS_SURFACEMESHING_CURVEMESH_H
37 #define NEKTAR_MESHUTILS_SURFACEMESHING_CURVEMESH_H
39 #include <boost/shared_ptr.hpp>
54 namespace NekMeshUtils
145 std::vector<std::vector<NekDouble> >
m_dst;
147 std::vector<std::vector<NekDouble> >
m_ps;
void GetSampleFunction()
get node spacing sampling function
CurveMesh(int id, MeshSharedPtr m, CADCurveSharedPtr c, OctreeSharedPtr o)
default constructor
NekDouble GetLength()
get the length of the curve
Array< OneD, NekDouble > m_bounds
coords of the ends of the parametric curve
int m_numSamplePoints
number of sampling points used in algorithm
std::vector< std::vector< NekDouble > > m_ps
array of function ps evaluations
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
NekDouble Ae
spacing function evaluation
void Mesh()
execute meshing
int m_id
id of the curvemesh
OctreeSharedPtr m_octree
Octree object.
std::vector< NodeSharedPtr > GetMeshPoints()
get list of mesh nodes
int Ne
number of edges to be made in the curve as defined by the spacing funtion
boost::shared_ptr< CurveMesh > CurveMeshSharedPtr
std::vector< NodeSharedPtr > m_meshpoints
ids of the mesh nodes
boost::shared_ptr< Node > NodeSharedPtr
int GetNumPoints()
get the number of points in the curve
boost::shared_ptr< Octree > OctreeSharedPtr
CADCurveSharedPtr m_cadcurve
CAD curve.
NodeSharedPtr GetLastPoint()
get id of last node
NodeSharedPtr GetFirstPoint()
get id of first node
boost::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
void GetPhiFunction()
get node spacing phi function
NekDouble m_curvelength
length of the curve in real space
NekDouble EvaluateDS(NekDouble s)
evaluate paramter ds at curve location s
NekDouble EvaluatePS(NekDouble s)
evaluate paramter ps at curve location s
std::vector< std::vector< NekDouble > > m_dst
array of function ds evaluations
std::vector< NekDouble > meshsvalue
paramteric coordiates of the mesh nodes
boost::shared_ptr< CADCurve > CADCurveSharedPtr