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

Basic information about an element. More...

#include <MeshElements.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 583 of file MeshElements.h.

Constructor & Destructor Documentation

Nektar::Utilities::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 585 of file MeshElements.h.

594  : m_e (pE),
595  m_faceNodes (pFn),
596  m_volumeNodes (pVn),
597  m_order (pOrder),
598  m_reorient (pReorient),
599  m_edgeCurveType(pECt),
600  m_faceCurveType(pFCt)
601  {
602  }
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: MeshElements.h:627
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: MeshElements.h:632
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: MeshElements.h:618
unsigned int m_order
Order of the element.
Definition: MeshElements.h:629
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: MeshElements.h:636
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: MeshElements.h:622
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: MeshElements.h:634
Nektar::Utilities::ElmtConfig::ElmtConfig ( ElmtConfig const &  p)
inline

Definition at line 604 of file MeshElements.h.

604  :
605  m_e (p.m_e),
606  m_faceNodes (p.m_faceNodes),
607  m_volumeNodes (p.m_volumeNodes),
608  m_order (p.m_order),
609  m_reorient (p.m_reorient),
610  m_edgeCurveType(p.m_edgeCurveType),
611  m_faceCurveType(p.m_faceCurveType)
612  {
613  }
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
Definition: MeshElements.h:627
bool m_reorient
Denotes whether the element needs to be re-orientated for a spectral element framework.
Definition: MeshElements.h:632
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
Definition: MeshElements.h:618
unsigned int m_order
Order of the element.
Definition: MeshElements.h:629
LibUtilities::PointsType m_faceCurveType
Distribution of points in faces.
Definition: MeshElements.h:636
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Definition: MeshElements.h:622
LibUtilities::PointsType m_edgeCurveType
Distribution of points in edges.
Definition: MeshElements.h:634
Nektar::Utilities::ElmtConfig::ElmtConfig ( )
inline

Definition at line 615 of file MeshElements.h.

615 {}

Member Data Documentation

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

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

Definition at line 632 of file MeshElements.h.

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

bool Nektar::Utilities::ElmtConfig::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).

Definition at line 627 of file MeshElements.h.

Referenced by Nektar::Utilities::Triangle::Complete(), Nektar::Utilities::Quadrilateral::Complete(), Nektar::Utilities::Tetrahedron::Complete(), Nektar::Utilities::Prism::Complete(), Nektar::Utilities::Tetrahedron::GetNumNodes(), Nektar::Utilities::Prism::GetNumNodes(), Nektar::Utilities::Hexahedron::GetNumNodes(), Nektar::Utilities::InputGmsh::HexReordering(), Nektar::Utilities::ElmtConfigHash::operator()(), and Nektar::Utilities::operator==().