Nektar++
Public Member Functions | Public Attributes | List of all members
Nektar::NekMeshUtils::ElmtConfig Struct Reference

Basic information about an element. More...

#include <ElementConfig.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 ()
 
ElmtConfigoperator= (const ElmtConfig &)=default
 

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 49 of file ElementConfig.h.

Constructor & Destructor Documentation

◆ ElmtConfig() [1/3]

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 51 of file ElementConfig.h.

58  : m_e(pE), m_faceNodes(pFn), m_volumeNodes(pVn), m_order(pOrder),
59  m_reorient(pReorient), m_edgeCurveType(pECt), m_faceCurveType(pFCt)
60  {
61  }
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: ElementConfig.h:81
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: ElementConfig.h:95
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: ElementConfig.h:93
unsigned int m_order
Order of the element.
Definition: ElementConfig.h:88
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: ElementConfig.h:86
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: ElementConfig.h:91
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: ElementConfig.h:78

◆ ElmtConfig() [2/3]

Nektar::NekMeshUtils::ElmtConfig::ElmtConfig ( ElmtConfig const &  p)
inline

Definition at line 63 of file ElementConfig.h.

64  : m_e(p.m_e), m_faceNodes(p.m_faceNodes),
65  m_volumeNodes(p.m_volumeNodes), m_order(p.m_order),
66  m_reorient(p.m_reorient), m_edgeCurveType(p.m_edgeCurveType),
67  m_faceCurveType(p.m_faceCurveType)
68  {
69  }
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: ElementConfig.h:81
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: ElementConfig.h:95
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: ElementConfig.h:93
unsigned int m_order
Order of the element.
Definition: ElementConfig.h:88
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: ElementConfig.h:86
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: ElementConfig.h:91
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: ElementConfig.h:78

◆ ElmtConfig() [3/3]

Nektar::NekMeshUtils::ElmtConfig::ElmtConfig ( )
inline

Definition at line 71 of file ElementConfig.h.

References operator=().

72  {
73  }

Member Function Documentation

◆ operator=()

ElmtConfig& Nektar::NekMeshUtils::ElmtConfig::operator= ( const ElmtConfig )
default

Referenced by ElmtConfig().

Member Data Documentation

◆ m_e

LibUtilities::ShapeType Nektar::NekMeshUtils::ElmtConfig::m_e

◆ m_edgeCurveType

LibUtilities::PointsType Nektar::NekMeshUtils::ElmtConfig::m_edgeCurveType

◆ m_faceCurveType

LibUtilities::PointsType Nektar::NekMeshUtils::ElmtConfig::m_faceCurveType

◆ m_faceNodes

bool Nektar::NekMeshUtils::ElmtConfig::m_faceNodes

◆ m_order

unsigned int Nektar::NekMeshUtils::ElmtConfig::m_order

◆ m_reorient

bool Nektar::NekMeshUtils::ElmtConfig::m_reorient

◆ m_volumeNodes

bool Nektar::NekMeshUtils::ElmtConfig::m_volumeNodes