36 #ifndef NEKMESHUTILS_MESHELEMENTS_LINE
37 #define NEKMESHUTILS_MESHELEMENTS_LINE
44 namespace NekMeshUtils
54 std::vector<NodeSharedPtr> pNodeList,
55 std::vector<int> pTagList)
57 return boost::shared_ptr<Element>(
new Line(pConf, pNodeList, pTagList));
63 std::vector<NodeSharedPtr> pNodeList,
64 std::vector<int> pTagList);
70 std::vector<NodeSharedPtr> &nodeList)
const;
80 bool justConfig =
false);
Basic information about an element.
static LibUtilities::ShapeType m_type
Element type.
NEKMESHUTILS_EXPORT Line(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Create a line 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 line.
virtual NEKMESHUTILS_EXPORT void GetCurvedNodes(std::vector< NodeSharedPtr > &nodeList) const
get list of volume interior nodes
virtual NEKMESHUTILS_EXPORT ~Line()
A 1-dimensional line between two vertex nodes.
virtual NEKMESHUTILS_EXPORT SpatialDomains::GeometrySharedPtr GetGeom(int coordDim)
Generate a Nektar++ geometry object for this element.
#define NEKMESHUTILS_EXPORT
boost::shared_ptr< Element > ElementSharedPtr
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...
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.