MFEM  v4.6.0
Finite element discretization library
Public Member Functions | Public Attributes | List of all members
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. More...
 
int element
 NCMesh::Element containing this vertex/edge/face. More...
 
signed char local
 local number within 'element' More...
 
signed char geom
 Geometry::Type (faces only) (char to save RAM) More...
 

Detailed Description

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

Definition at line 187 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 197 of file ncmesh.hpp.

Member Function Documentation

◆ Geom()

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

Definition at line 194 of file ncmesh.hpp.

Member Data Documentation

◆ element

int mfem::NCMesh::MeshId::element

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

Definition at line 190 of file ncmesh.hpp.

◆ geom

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

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

Definition at line 192 of file ncmesh.hpp.

◆ index

int mfem::NCMesh::MeshId::index

Mesh number.

Definition at line 189 of file ncmesh.hpp.

◆ local

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

local number within 'element'

Definition at line 191 of file ncmesh.hpp.


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