MFEM  v4.5.2
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:

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

◆ MeshId() [2/2]

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

Definition at line 197 of file ncmesh.hpp.

Member Function Documentation

◆ Geom()

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

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: