MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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

mfem::Embedding::Embedding ( )
default
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

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.

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.

unsigned mfem::Embedding::matrix

Definition at line 58 of file ncmesh.hpp.

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: