Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Nektar::NekMeshUtils::ElmtConfig Struct Reference

Basic information about an element. More...

#include <Element.h>

Public Member Functions

 ElmtConfig (LibUtilities::ShapeType pE, unsigned int pOrder, bool pFn, bool pVn, bool pReorient=true, LibUtilities::PointsType pECt=LibUtilities::ePolyEvenlySpaced, LibUtilities::PointsType pFCt=LibUtilities::ePolyEvenlySpaced)
 
 ElmtConfig (ElmtConfig const &p)
 
 ElmtConfig ()
 

Public Attributes

LibUtilities::ShapeType m_e
 Element type (e.g. triangle, quad, etc). More...
 
bool m_faceNodes
 Denotes whether the element contains face nodes. For 2D elements, if this is true then the element contains interior nodes. More...
 
bool m_volumeNodes
 Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either the mesh converter or Nektar++ but are included for completeness and are required for some output modules (e.g. Gmsh). More...
 
unsigned int m_order
 Order of the element. More...
 
bool m_reorient
 Denotes whether the element needs to be re-orientated for a spectral element framework. More...
 
LibUtilities::PointsType m_edgeCurveType
 Distribution of points in edges. More...
 
LibUtilities::PointsType m_faceCurveType
 Distribution of points in faces. More...
 

Detailed Description

Basic information about an element.

ElmtConfig contains four member variables which denote the properties of an element when it is created.

Definition at line 58 of file Element.h.

Constructor & Destructor Documentation

Nektar::NekMeshUtils::ElmtConfig::ElmtConfig ( LibUtilities::ShapeType  pE,
unsigned int  pOrder,
bool  pFn,
bool  pVn,
bool  pReorient = true,
LibUtilities::PointsType  pECt = LibUtilities::ePolyEvenlySpaced,
LibUtilities::PointsType  pFCt = LibUtilities::ePolyEvenlySpaced 
)
inline

Definition at line 60 of file Element.h.

67  : m_e(pE), m_faceNodes(pFn), m_volumeNodes(pVn), m_order(pOrder),
68  m_reorient(pReorient), m_edgeCurveType(pECt), m_faceCurveType(pFCt)
69  {
70  }
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: Element.h:89
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: Element.h:103
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: Element.h:101
unsigned int m_order
Order of the element.
Definition: Element.h:96
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: Element.h:94
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: Element.h:99
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: Element.h:85
Nektar::NekMeshUtils::ElmtConfig::ElmtConfig ( ElmtConfig const &  p)
inline

Definition at line 72 of file Element.h.

73  : m_e(p.m_e), m_faceNodes(p.m_faceNodes),
74  m_volumeNodes(p.m_volumeNodes), m_order(p.m_order),
75  m_reorient(p.m_reorient), m_edgeCurveType(p.m_edgeCurveType),
76  m_faceCurveType(p.m_faceCurveType)
77  {
78  }
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: Element.h:89
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: Element.h:103
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: Element.h:101
unsigned int m_order
Order of the element.
Definition: Element.h:96
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: Element.h:94
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: Element.h:99
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: Element.h:85
Nektar::NekMeshUtils::ElmtConfig::ElmtConfig ( )
inline

Definition at line 80 of file Element.h.

81  {
82  }

Member Data Documentation

LibUtilities::ShapeType Nektar::NekMeshUtils::ElmtConfig::m_e
LibUtilities::PointsType Nektar::NekMeshUtils::ElmtConfig::m_edgeCurveType
LibUtilities::PointsType Nektar::NekMeshUtils::ElmtConfig::m_faceCurveType
bool Nektar::NekMeshUtils::ElmtConfig::m_faceNodes
unsigned int Nektar::NekMeshUtils::ElmtConfig::m_order
bool Nektar::NekMeshUtils::ElmtConfig::m_reorient

Denotes whether the element needs to be re-orientated for a spectral element framework.

Definition at line 99 of file Element.h.

Referenced by Nektar::NekMeshUtils::Prism::Prism(), Nektar::NekMeshUtils::Quadrilateral::Quadrilateral(), Nektar::NekMeshUtils::Tetrahedron::Tetrahedron(), and Nektar::NekMeshUtils::Triangle::Triangle().

bool Nektar::NekMeshUtils::ElmtConfig::m_volumeNodes