MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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 188 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 198 of file ncmesh.hpp.

Member Function Documentation

◆ Geom()

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

Definition at line 195 of file ncmesh.hpp.

Member Data Documentation

◆ element

int mfem::NCMesh::MeshId::element

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

Definition at line 191 of file ncmesh.hpp.

◆ geom

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

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

Definition at line 193 of file ncmesh.hpp.

◆ index

int mfem::NCMesh::MeshId::index

Mesh number.

Definition at line 190 of file ncmesh.hpp.

◆ local

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

local number within 'element'

Definition at line 192 of file ncmesh.hpp.


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