![]() |
MFEM v4.8.0
Finite element discretization library
|
#include <ncmesh.hpp>
Public Member Functions | |
| Element (Geometry::Type geom, int attr) | |
| Geometry::Type | Geom () const |
| bool | IsLeaf () const |
| int | GetAttribute () const |
Public Attributes | ||
| char | geom | |
| Geometry::Type of the element (char for storage only) | ||
| char | ref_type | |
| bit mask of X,Y,Z refinements (bits 0,1,2 respectively) | ||
| char | tet_type | |
| tetrahedron split type, currently always 0 | ||
| char | flag | |
| generic flag/marker, can be used by algorithms | ||
| int | index | |
| element number in the Mesh, -1 if refined | ||
| int | rank | |
| processor number (ParNCMesh), -1 if undefined/unknown | ||
| int | attribute | |
| union { | ||
| int node [MaxElemNodes] | ||
| element corners (if ref_type == 0) More... | ||
| int child [MaxElemChildren] | ||
| 2-10 children (if ref_type != 0) More... | ||
| }; | ||
| int | parent | |
| parent element, -1 if this is a root element, -2 if free'd | ||
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 595 of file ncmesh.hpp.
| mfem::NCMesh::Element::Element | ( | Geometry::Type | geom, |
| int | attr ) |
Definition at line 602 of file ncmesh.cpp.
|
inline |
Definition at line 612 of file ncmesh.hpp.
|
inline |
Definition at line 614 of file ncmesh.hpp.
|
inline |
Definition at line 613 of file ncmesh.hpp.
| union { ... } mfem::NCMesh::Element |
| int mfem::NCMesh::Element::attribute |
Definition at line 603 of file ncmesh.hpp.
| int mfem::NCMesh::Element::child[MaxElemChildren] |
2-10 children (if ref_type != 0)
Definition at line 607 of file ncmesh.hpp.
| char mfem::NCMesh::Element::flag |
generic flag/marker, can be used by algorithms
Definition at line 600 of file ncmesh.hpp.
| char mfem::NCMesh::Element::geom |
Geometry::Type of the element (char for storage only)
Definition at line 597 of file ncmesh.hpp.
| int mfem::NCMesh::Element::index |
element number in the Mesh, -1 if refined
Definition at line 601 of file ncmesh.hpp.
| int mfem::NCMesh::Element::node[MaxElemNodes] |
element corners (if ref_type == 0)
Definition at line 606 of file ncmesh.hpp.
| int mfem::NCMesh::Element::parent |
parent element, -1 if this is a root element, -2 if free'd
Definition at line 609 of file ncmesh.hpp.
| int mfem::NCMesh::Element::rank |
processor number (ParNCMesh), -1 if undefined/unknown
Definition at line 602 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 598 of file ncmesh.hpp.
| char mfem::NCMesh::Element::tet_type |
tetrahedron split type, currently always 0
Definition at line 599 of file ncmesh.hpp.