MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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.
 
unsigned geom: 4
 
unsigned matrix: 27
 
unsigned ghost: 1
 For internal use: 0 if regular fine element, 1 if parallel ghost element.
 

Detailed Description

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

Definition at line 50 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 65 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 58 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 62 of file ncmesh.hpp.

◆ matrix

unsigned mfem::Embedding::matrix

Definition at line 59 of file ncmesh.hpp.

◆ parent

int mfem::Embedding::parent

Coarse Element index in the coarse mesh.

Definition at line 53 of file ncmesh.hpp.


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