MFEM
v3.1
Finite element discretization library
|
#include <ncmesh.hpp>
Public Member Functions | |
Element (int geom, int attr) | |
Element (const Element &other) | |
Public Attributes | |
char | geom |
Geometry::Type of the element. More... | |
char | ref_type |
bit mask of X,Y,Z refinements (bits 0,1,2 respectively) More... | |
int | index |
element number in the Mesh, -1 if refined More... | |
int | rank |
processor number (ParNCMesh) More... | |
int | attribute |
union { | |
Node * node [8] | |
element corners (if ref_type == 0) More... | |
Element * child [8] | |
2-8 children (if ref_type != 0) More... | |
}; | |
Element * | parent |
parent element, NULL if this is a root element 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 345 of file ncmesh.hpp.
mfem::NCMesh::Element::Element | ( | int | geom, |
int | attr | ||
) |
Definition at line 460 of file ncmesh.cpp.
|
inline |
Definition at line 360 of file ncmesh.hpp.
union { ... } |
int mfem::NCMesh::Element::attribute |
Definition at line 351 of file ncmesh.hpp.
Element* mfem::NCMesh::Element::child[8] |
2-8 children (if ref_type != 0)
Definition at line 355 of file ncmesh.hpp.
char mfem::NCMesh::Element::geom |
Geometry::Type of the element.
Definition at line 347 of file ncmesh.hpp.
int mfem::NCMesh::Element::index |
element number in the Mesh, -1 if refined
Definition at line 349 of file ncmesh.hpp.
Node* mfem::NCMesh::Element::node[8] |
element corners (if ref_type == 0)
Definition at line 354 of file ncmesh.hpp.
Element* mfem::NCMesh::Element::parent |
parent element, NULL if this is a root element
Definition at line 357 of file ncmesh.hpp.
int mfem::NCMesh::Element::rank |
processor number (ParNCMesh)
Definition at line 350 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 348 of file ncmesh.hpp.