![]() |
MFEM v4.8.0
Finite element discretization library
|
#include <ncmesh.hpp>
Public Member Functions | |
| Face () | |
| bool | Boundary () const |
| bool | Unused () const |
| void | RegisterElement (int e) |
| void | ForgetElement (int e) |
| int | GetSingleElement () const |
| Return one of elem[0] or elem[1] and make sure the other is -1. | |
| int | GetAttribute () const |
Public Attributes | |
| int | attribute |
| boundary element attribute, -1 if internal face | |
| int | index |
| face number in the Mesh | |
| int | elem [2] |
| up to 2 elements sharing the face | |
Public Attributes inherited from mfem::Hashed4 | |
| int | p1 |
| int | p2 |
| int | p3 |
| int | 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 572 of file ncmesh.hpp.
|
inline |
Definition at line 578 of file ncmesh.hpp.
|
inline |
Definition at line 580 of file ncmesh.hpp.
| void mfem::NCMesh::Face::ForgetElement | ( | int | e | ) |
Definition at line 473 of file ncmesh.cpp.
|
inline |
Definition at line 589 of file ncmesh.hpp.
| int mfem::NCMesh::Face::GetSingleElement | ( | ) | const |
Return one of elem[0] or elem[1] and make sure the other is -1.
Definition at line 488 of file ncmesh.cpp.
| void mfem::NCMesh::Face::RegisterElement | ( | int | e | ) |
Definition at line 466 of file ncmesh.cpp.
|
inline |
Definition at line 581 of file ncmesh.hpp.
| int mfem::NCMesh::Face::attribute |
boundary element attribute, -1 if internal face
Definition at line 574 of file ncmesh.hpp.
| int mfem::NCMesh::Face::elem[2] |
up to 2 elements sharing the face
Definition at line 576 of file ncmesh.hpp.
| int mfem::NCMesh::Face::index |
face number in the Mesh
Definition at line 575 of file ncmesh.hpp.