MFEM
v4.2.0
Finite element discretization library
|
#include <ncmesh.hpp>
Public Member Functions | |
Element (Geometry::Type geom, int attr) | |
Geometry::Type | Geom () const |
Public Attributes | |
char | geom |
Geometry::Type of the element (char for storage only) More... | |
char | ref_type |
bit mask of X,Y,Z refinements (bits 0,1,2 respectively) More... | |
char | tet_type |
tetrahedron split type, currently always 0 More... | |
char | flag |
generic flag/marker, can be used by algorithms More... | |
int | index |
element number in the Mesh, -1 if refined More... | |
int | rank |
processor number (ParNCMesh), -1 if undefined/unknown More... | |
int | attribute |
union { | |
int node [8] | |
element corners (if ref_type == 0) More... | |
int child [8] | |
2-8 children (if ref_type != 0) More... | |
}; | |
int | parent |
parent element, -1 if this is a root element, -2 if free More... | |
This is an element in the refinement hierarchy. Each element has either been refined and points to its children, or is a leaf and points to its vertex nodes.
Definition at line 442 of file ncmesh.hpp.
mfem::NCMesh::Element::Element | ( | Geometry::Type | geom, |
int | attr | ||
) |
Definition at line 450 of file ncmesh.cpp.
|
inline |
Definition at line 460 of file ncmesh.hpp.
union { ... } |
int mfem::NCMesh::Element::attribute |
Definition at line 450 of file ncmesh.hpp.
int mfem::NCMesh::Element::child[8] |
2-8 children (if ref_type != 0)
Definition at line 454 of file ncmesh.hpp.
char mfem::NCMesh::Element::flag |
generic flag/marker, can be used by algorithms
Definition at line 447 of file ncmesh.hpp.
char mfem::NCMesh::Element::geom |
Geometry::Type of the element (char for storage only)
Definition at line 444 of file ncmesh.hpp.
int mfem::NCMesh::Element::index |
element number in the Mesh, -1 if refined
Definition at line 448 of file ncmesh.hpp.
int mfem::NCMesh::Element::node[8] |
element corners (if ref_type == 0)
Definition at line 453 of file ncmesh.hpp.
int mfem::NCMesh::Element::parent |
parent element, -1 if this is a root element, -2 if free
Definition at line 456 of file ncmesh.hpp.
int mfem::NCMesh::Element::rank |
processor number (ParNCMesh), -1 if undefined/unknown
Definition at line 449 of file ncmesh.hpp.
char mfem::NCMesh::Element::ref_type |
bit mask of X,Y,Z refinements (bits 0,1,2 respectively)
Definition at line 445 of file ncmesh.hpp.
char mfem::NCMesh::Element::tet_type |
tetrahedron split type, currently always 0
Definition at line 446 of file ncmesh.hpp.