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);
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 ~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
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.