36 #ifndef NEKTAR_MESHUTILS_BLMESHING_BLMESH_H
37 #define NEKTAR_MESHUTILS_BLMESHING_BLMESH_H
39 #include <boost/shared_ptr.hpp>
46 namespace NekMeshUtils
78 std::map<NodeSharedPtr, NodeSharedPtr>
GetSymNodes();
93 std::vector<ElementSharedPtr>
els;
100 pNode->m_x = oNode->m_x + t * N[0];
101 pNode->m_y = oNode->m_y + t * N[1];
102 pNode->m_z = oNode->m_z + t * N[2];
134 std::map<NodeSharedPtr, std::vector<blInfoSharedPtr> >
Array< OneD, NekDouble > GetNormal(std::vector< ElementSharedPtr > tris)
std::vector< unsigned int > m_symSurfs
list of surfaces to be remeshed due to the boundary layer
std::vector< ElementSharedPtr > m_psuedoSurface
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
std::vector< ElementSharedPtr > els
MeshSharedPtr m_mesh
mesh object containing surface mesh
NekDouble Visability(std::vector< ElementSharedPtr > tris, Array< OneD, NekDouble > N)
void AlignNode(NekDouble t)
std::map< NodeSharedPtr, NodeSharedPtr > GetSymNodes()
Array< OneD, NekDouble > m_layerT
BLMesh(MeshSharedPtr m, std::vector< unsigned int > bls, NekDouble b, int l, NekDouble p, int id)
default constructor
NekDouble m_bl
thickness of the boundary layer
std::vector< unsigned int > GetSymSurfs()
boost::shared_ptr< BLMesh > BLMeshSharedPtr
std::map< NodeSharedPtr, blInfoSharedPtr > m_blData
data structure used to store and develop bl information
NekDouble Proximity(NodeSharedPtr n, ElementSharedPtr el)
NekMatrix< NekDouble > m_deriv[3]
bool TestIntersectionEl(ElementSharedPtr e1, ElementSharedPtr e2)
boost::shared_ptr< Node > NodeSharedPtr
Array< OneD, NekDouble > N
bool IsPrismValid(ElementSharedPtr el)
boost::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
std::map< NodeSharedPtr, std::vector< blInfoSharedPtr > > m_nToNInfo
std::vector< unsigned int > GetBLSurfs()
boost::shared_ptr< blInfo > blInfoSharedPtr
void Mesh()
Execute boundary layer meshing.
std::map< ElementSharedPtr, ElementSharedPtr > m_priToTri
boost::shared_ptr< Element > ElementSharedPtr
std::vector< ElementSharedPtr > GetPseudoSurface()
std::vector< unsigned int > m_blsurfs
List of surfaces onto which boundary layers are placed.