36 #ifndef NekMeshUtils_MESHELEMENTS_QUAD
37 #define NekMeshUtils_MESHELEMENTS_QUAD
44 namespace NekMeshUtils
54 std::vector<NodeSharedPtr> pNodeList,
55 std::vector<int> pTagList)
59 std::vector<EdgeSharedPtr> m_edges = e->GetEdgeList();
60 for (
int i = 0; i < m_edges.size(); ++i)
62 m_edges[i]->m_elLink.push_back(std::pair<ElementSharedPtr, int>(e, i));
70 std::vector<NodeSharedPtr> pNodeList,
71 std::vector<int> pTagList);
NEKMESHUTILS_EXPORT Quadrilateral(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Create a quadrilateral element.
Basic information about an element.
static NEKMESHUTILS_EXPORT unsigned int GetNumNodes(ElmtConfig pConf)
Return the number of nodes defining a quadrilateral.
virtual NEKMESHUTILS_EXPORT SpatialDomains::GeometrySharedPtr GetGeom(int coordDim)
Generate a Nektar++ geometry object for this element.
static ElementSharedPtr create(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Creates an instance of this class.
A 2-dimensional four-sided element.
static LibUtilities::ShapeType m_type
Element type.
virtual NEKMESHUTILS_EXPORT void Complete(int order)
Complete this object.
#define NEKMESHUTILS_EXPORT
virtual NEKMESHUTILS_EXPORT ~Quadrilateral()
boost::shared_ptr< Element > ElementSharedPtr
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.