MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::NCMesh::MeshId Struct Reference

Identifies a vertex/edge/face in both Mesh and NCMesh. More...

#include <ncmesh.hpp>

Inheritance diagram for mfem::NCMesh::MeshId:
[legend]

Public Member Functions

Geometry::Type Geom () const
 
 MeshId ()=default
 
 MeshId (int index, int element, int local, int geom=-1)
 

Public Attributes

int index
 Mesh number.
 
int element
 NCMesh::Element containing this vertex/edge/face.
 
signed char local
 local number within 'element'
 
signed char geom
 Geometry::Type (faces only) (char to save RAM)
 

Detailed Description

Identifies a vertex/edge/face in both Mesh and NCMesh.

Definition at line 209 of file ncmesh.hpp.

Constructor & Destructor Documentation

◆ MeshId() [1/2]

mfem::NCMesh::MeshId::MeshId ( )
default

◆ MeshId() [2/2]

mfem::NCMesh::MeshId::MeshId ( int index,
int element,
int local,
int geom = -1 )
inline

Definition at line 219 of file ncmesh.hpp.

Member Function Documentation

◆ Geom()

Geometry::Type mfem::NCMesh::MeshId::Geom ( ) const
inline

Definition at line 216 of file ncmesh.hpp.

Member Data Documentation

◆ element

int mfem::NCMesh::MeshId::element

NCMesh::Element containing this vertex/edge/face.

Definition at line 212 of file ncmesh.hpp.

◆ geom

signed char mfem::NCMesh::MeshId::geom

Geometry::Type (faces only) (char to save RAM)

Definition at line 214 of file ncmesh.hpp.

◆ index

int mfem::NCMesh::MeshId::index

Mesh number.

Definition at line 211 of file ncmesh.hpp.

◆ local

signed char mfem::NCMesh::MeshId::local

local number within 'element'

Definition at line 213 of file ncmesh.hpp.


The documentation for this struct was generated from the following file: