Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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).
bool m_faceNodes
 Denotes whether the element contains face nodes. For 2D elements, if this is true then the element contains interior nodes.
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).
unsigned int m_order
 Order of the element.
bool m_reorient
 Denotes whether the element needs to be re-orientated for a spectral element framework.
LibUtilities::PointsType m_edgeCurveType
 Distribution of points in edges.
LibUtilities::PointsType m_faceCurveType
 Distribution of points in faces.

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.

: m_e (pE),
m_faceNodes (pFn),
m_order (pOrder),
m_reorient (pReorient),
{
}
Nektar::Utilities::ElmtConfig::ElmtConfig ( ElmtConfig const &  p)
inline

Definition at line 604 of file MeshElements.h.

:
m_e (p.m_e),
m_faceNodes (p.m_faceNodes),
m_volumeNodes (p.m_volumeNodes),
m_order (p.m_order),
m_reorient (p.m_reorient),
m_edgeCurveType(p.m_edgeCurveType),
m_faceCurveType(p.m_faceCurveType)
{
}
Nektar::Utilities::ElmtConfig::ElmtConfig ( )
inline

Definition at line 615 of file MeshElements.h.

{}

Member Data Documentation

LibUtilities::ShapeType Nektar::Utilities::ElmtConfig::m_e

Element type (e.g. triangle, quad, etc).

Definition at line 618 of file MeshElements.h.

Referenced by Nektar::Utilities::Element::Element(), Nektar::Utilities::ElmtConfigHash::operator()(), and Nektar::Utilities::operator==().

LibUtilities::PointsType Nektar::Utilities::ElmtConfig::m_edgeCurveType

Distribution of points in edges.

Definition at line 634 of file MeshElements.h.

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

LibUtilities::PointsType Nektar::Utilities::ElmtConfig::m_faceCurveType

Distribution of points in faces.

Definition at line 636 of file MeshElements.h.

Referenced by Nektar::Utilities::Hexahedron::Hexahedron(), Nektar::Utilities::Prism::Prism(), Nektar::Utilities::Pyramid::Pyramid(), and Nektar::Utilities::Tetrahedron::Tetrahedron().

bool Nektar::Utilities::ElmtConfig::m_faceNodes

Denotes whether the element contains face nodes. For 2D elements, if this is true then the element contains interior nodes.

Definition at line 622 of file MeshElements.h.

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

unsigned int Nektar::Utilities::ElmtConfig::m_order

Order of the element.

Definition at line 629 of file MeshElements.h.

Referenced by Nektar::Utilities::Triangle::Complete(), Nektar::Utilities::Quadrilateral::Complete(), Nektar::Utilities::Tetrahedron::Complete(), Nektar::Utilities::Prism::Complete(), Nektar::Utilities::Line::GetNumNodes(), Nektar::Utilities::Triangle::GetNumNodes(), Nektar::Utilities::Quadrilateral::GetNumNodes(), Nektar::Utilities::Tetrahedron::GetNumNodes(), Nektar::Utilities::Pyramid::GetNumNodes(), Nektar::Utilities::Prism::GetNumNodes(), Nektar::Utilities::Hexahedron::GetNumNodes(), Nektar::Utilities::Hexahedron::Hexahedron(), Nektar::Utilities::InputGmsh::HexReordering(), Nektar::Utilities::Line::Line(), Nektar::Utilities::ElmtConfigHash::operator()(), Nektar::Utilities::operator==(), Nektar::Utilities::Prism::Prism(), Nektar::Utilities::InputGmsh::PrismReordering(), Nektar::Utilities::Pyramid::Pyramid(), Nektar::Utilities::InputGmsh::QuadReordering(), Nektar::Utilities::Quadrilateral::Quadrilateral(), Nektar::Utilities::Tetrahedron::Tetrahedron(), Nektar::Utilities::InputGmsh::TetReordering(), Nektar::Utilities::Triangle::Triangle(), and Nektar::Utilities::InputGmsh::TriReordering().

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==().