MFEM  v4.6.0
Finite element discretization library
Public Member Functions | Public Attributes | List of all members
mfem::Embedding Struct Reference

Defines the position of a fine element within a coarse element. More...

#include <ncmesh.hpp>

Public Member Functions

 Embedding ()=default
 
 Embedding (int elem, Geometry::Type geom, int matrix=0, bool ghost=false)
 

Public Attributes

int parent
 Coarse Element index in the coarse mesh. More...
 
unsigned geom: 4
 
unsigned matrix: 27
 
unsigned ghost: 1
 For internal use: 0 if regular fine element, 1 if parallel ghost element. More...
 

Detailed Description

Defines the position of a fine element within a coarse element.

Definition at line 49 of file ncmesh.hpp.

Constructor & Destructor Documentation

◆ Embedding() [1/2]

mfem::Embedding::Embedding ( )
default

◆ Embedding() [2/2]

mfem::Embedding::Embedding ( int  elem,
Geometry::Type  geom,
int  matrix = 0,
bool  ghost = false 
)
inline

Definition at line 64 of file ncmesh.hpp.

Member Data Documentation

◆ geom

unsigned mfem::Embedding::geom

The (geom, matrix) pair determines the sub-element transformation for the fine element: CoarseFineTransformations::point_matrices[geom](matrix) is the point matrix of the region within the coarse element reference domain.

Definition at line 57 of file ncmesh.hpp.

◆ ghost

unsigned mfem::Embedding::ghost

For internal use: 0 if regular fine element, 1 if parallel ghost element.

Definition at line 61 of file ncmesh.hpp.

◆ matrix

unsigned mfem::Embedding::matrix

Definition at line 58 of file ncmesh.hpp.

◆ parent

int mfem::Embedding::parent

Coarse Element index in the coarse mesh.

Definition at line 52 of file ncmesh.hpp.


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