MFEM
v3.3
Finite element discretization library
|
#include <ncmesh.hpp>
Public Member Functions | |
Face (int id) | |
Face (const Face &other) | |
bool | Boundary () const |
void | RegisterElement (Element *e) |
void | ForgetElement (Element *e) |
Element * | GetSingleElement () const |
Return one of elem[0] or elem[1] and make sure the other is NULL. More... | |
int | Unref () |
Public Member Functions inherited from mfem::NCMesh::RefCount | |
RefCount () | |
int | Ref () |
int | Unref () |
Public Member Functions inherited from mfem::Hashed4< Face > | |
Hashed4 () | |
Hashed4 (int id) | |
Public Attributes | |
int | attribute |
boundary element attribute, -1 if internal face More... | |
int | index |
face number in the Mesh More... | |
Element * | elem [2] |
up to 2 elements sharing the face More... | |
Public Attributes inherited from mfem::NCMesh::RefCount | |
int | ref_count |
Public Attributes inherited from mfem::Hashed4< Face > | |
int | id |
int | p1 |
int | p2 |
int | p3 |
Face * | next |
Similarly to nodes, faces can be accessed by hashing their four vertex node IDs. A face knows about the one or two elements that are using it. A face that is not on the boundary and only has one element referencing it is either a master or a slave face.
Definition at line 367 of file ncmesh.hpp.
mfem::NCMesh::Face::Face | ( | int | id | ) |
Definition at line 364 of file ncmesh.cpp.
mfem::NCMesh::Face::Face | ( | const Face & | other | ) |
Definition at line 370 of file ncmesh.cpp.
|
inline |
Definition at line 376 of file ncmesh.hpp.
void mfem::NCMesh::Face::ForgetElement | ( | Element * | e | ) |
Definition at line 384 of file ncmesh.cpp.
NCMesh::Element * mfem::NCMesh::Face::GetSingleElement | ( | ) | const |
Return one of elem[0] or elem[1] and make sure the other is NULL.
Definition at line 410 of file ncmesh.cpp.
void mfem::NCMesh::Face::RegisterElement | ( | Element * | e | ) |
Definition at line 377 of file ncmesh.cpp.
|
inline |
Definition at line 386 of file ncmesh.hpp.
int mfem::NCMesh::Face::attribute |
boundary element attribute, -1 if internal face
Definition at line 369 of file ncmesh.hpp.
Element* mfem::NCMesh::Face::elem[2] |
up to 2 elements sharing the face
Definition at line 371 of file ncmesh.hpp.
int mfem::NCMesh::Face::index |
face number in the Mesh
Definition at line 370 of file ncmesh.hpp.