36 #ifndef NEKMESHUTILS_MESHELEMENTS_TRIANGLE
37 #define NEKMESHUTILS_MESHELEMENTS_TRIANGLE
45 namespace NekMeshUtils
56 std::vector<NodeSharedPtr> pNodeList,
57 std::vector<int> pTagList)
59 return boost::shared_ptr<Element>(
60 new Triangle(pConf, pNodeList, pTagList));
66 std::vector<NodeSharedPtr> pNodeList,
67 std::vector<int> pTagList);
76 std::vector<NodeSharedPtr> &nodeList)
const;
85 bool justConfig =
false);
virtual NEKMESHUTILS_EXPORT SpatialDomains::GeometrySharedPtr GetGeom(int coordDim)
Generate a Nektar++ geometry object for this element.
static LibUtilities::ShapeType m_type
Element type.
Basic information about an element.
virtual NEKMESHUTILS_EXPORT void MakeOrder(int order, SpatialDomains::GeometrySharedPtr geom, LibUtilities::PointsType pType, int coordDim, int &id, bool justConfig=false)
Insert interior (i.e. volume) points into this element to make the geometry an order order representa...
A 2-dimensional three-sided element.
NEKMESHUTILS_EXPORT Triangle(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Create a triangle element.
static ElementSharedPtr create(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Creates an instance of this class.
static NEKMESHUTILS_EXPORT unsigned int GetNumNodes(ElmtConfig pConf)
Return the number of nodes defining a triangle.
boost::shared_ptr< Edge > EdgeSharedPtr
Shared pointer to an edge.
NEKMESHUTILS_EXPORT Array< OneD, NekDouble > Normal(bool inward=false)
returns the normal to the element
virtual NEKMESHUTILS_EXPORT StdRegions::Orientation GetEdgeOrient(int edgeId, EdgeSharedPtr edge)
Get the edge orientation of edge with respect to the local element, which lies at edge index edgeId...
#define NEKMESHUTILS_EXPORT
boost::shared_ptr< Element > ElementSharedPtr
virtual NEKMESHUTILS_EXPORT ~Triangle()
boost::shared_ptr< Geometry > GeometrySharedPtr
virtual NEKMESHUTILS_EXPORT void GetCurvedNodes(std::vector< NodeSharedPtr > &nodeList) const
get list of volume interior nodes
Base class for element definitions.