Nektar++
|
#include <CurveMesh.h>
Public Member Functions | |
CurveMesh (int id, MeshSharedPtr m, std::string expr="0.0") | |
default constructor More... | |
CurveMesh (int id, MeshSharedPtr m, std::vector< NodeSharedPtr > ns) | |
void | Mesh () |
execute meshing More... | |
NodeSharedPtr | GetFirstPoint () |
get id of first node More... | |
NodeSharedPtr | GetLastPoint () |
get id of last node More... | |
std::vector< NodeSharedPtr > | GetMeshPoints () |
get list of mesh nodes More... | |
std::vector< EdgeSharedPtr > | GetMeshEdges () |
int | GetNumPoints () |
get the number of points in the curve More... | |
NekDouble | GetLength () |
get the length of the curve More... | |
Private Member Functions | |
void | GetSampleFunction () |
get node spacing sampling function More... | |
void | GetPhiFunction () |
get node spacing phi function More... | |
NekDouble | EvaluateDS (NekDouble s) |
evaluate paramter ds at curve location s More... | |
NekDouble | EvaluatePS (NekDouble s) |
evaluate paramter ps at curve location s More... | |
Private Attributes | |
CADCurveSharedPtr | m_cadcurve |
CAD curve. More... | |
NekDouble | m_curvelength |
length of the curve in real space More... | |
int | m_numSamplePoints |
number of sampling points used in algorithm More... | |
Array< OneD, NekDouble > | m_bounds |
coords of the ends of the parametric curve More... | |
std::vector< std::vector < NekDouble > > | m_dst |
array of function ds evaluations More... | |
std::vector< std::vector < NekDouble > > | m_ps |
array of function ps evaluations More... | |
NekDouble | Ae |
spacing function evaluation More... | |
NekDouble | ds |
ds More... | |
int | Ne |
number of edges to be made in the curve as defined by the spacing funtion More... | |
std::vector< NekDouble > | meshsvalue |
paramteric coordiates of the mesh nodes More... | |
std::vector< EdgeSharedPtr > | m_meshedges |
list of mesh edges in the curvemesh More... | |
int | m_id |
id of the curvemesh More... | |
MeshSharedPtr | m_mesh |
std::vector< NodeSharedPtr > | m_meshpoints |
ids of the mesh nodes More... | |
LibUtilities::AnalyticExpressionEvaluator | m_bl |
int | m_blID |
Friends | |
class | MemoryManager< CurveMesh > |
Definition at line 57 of file CurveMesh.h.
|
inline |
default constructor
Definition at line 65 of file CurveMesh.h.
References Nektar::LibUtilities::AnalyticExpressionEvaluator::DefineFunction(), m_bl, m_blID, m_cadcurve, m_id, and m_mesh.
|
inline |
Definition at line 72 of file CurveMesh.h.
References m_cadcurve, m_id, and m_mesh.
evaluate paramter ds at curve location s
Definition at line 212 of file CurveMesh.cpp.
References ASSERTL0, and ASSERTL1.
evaluate paramter ps at curve location s
Definition at line 251 of file CurveMesh.cpp.
References ASSERTL0, and ASSERTL1.
|
inline |
get id of first node
Definition at line 86 of file CurveMesh.h.
References m_meshpoints.
|
inline |
get id of last node
Definition at line 94 of file CurveMesh.h.
References m_meshpoints.
|
inline |
get the length of the curve
Definition at line 123 of file CurveMesh.h.
References m_curvelength.
|
inline |
Definition at line 107 of file CurveMesh.h.
References m_meshedges.
|
inline |
get list of mesh nodes
Definition at line 102 of file CurveMesh.h.
References m_meshpoints.
|
inline |
get the number of points in the curve
Definition at line 115 of file CurveMesh.h.
References m_meshpoints.
|
private |
get node spacing phi function
Definition at line 190 of file CurveMesh.cpp.
|
private |
get node spacing sampling function
Definition at line 298 of file CurveMesh.cpp.
void Nektar::NekMeshUtils::CurveMesh::Mesh | ( | ) |
execute meshing
Definition at line 45 of file CurveMesh.cpp.
References ASSERTL0, and class_topology::Node.
|
friend |
Definition at line 60 of file CurveMesh.h.
|
private |
spacing function evaluation
Definition at line 162 of file CurveMesh.h.
|
private |
ds
Definition at line 164 of file CurveMesh.h.
|
private |
Definition at line 178 of file CurveMesh.h.
Referenced by CurveMesh().
|
private |
Definition at line 179 of file CurveMesh.h.
Referenced by CurveMesh().
coords of the ends of the parametric curve
Definition at line 156 of file CurveMesh.h.
|
private |
|
private |
length of the curve in real space
Definition at line 152 of file CurveMesh.h.
Referenced by GetLength().
|
private |
array of function ds evaluations
Definition at line 158 of file CurveMesh.h.
|
private |
|
private |
Definition at line 175 of file CurveMesh.h.
Referenced by CurveMesh().
|
private |
list of mesh edges in the curvemesh
Definition at line 171 of file CurveMesh.h.
Referenced by GetMeshEdges().
|
private |
ids of the mesh nodes
Definition at line 177 of file CurveMesh.h.
Referenced by GetFirstPoint(), GetLastPoint(), GetMeshPoints(), and GetNumPoints().
|
private |
number of sampling points used in algorithm
Definition at line 154 of file CurveMesh.h.
|
private |
array of function ps evaluations
Definition at line 160 of file CurveMesh.h.
|
private |
paramteric coordiates of the mesh nodes
Definition at line 169 of file CurveMesh.h.
|
private |
number of edges to be made in the curve as defined by the spacing funtion
Definition at line 167 of file CurveMesh.h.