MFEM v4.7.0
Finite element discretization library
|
Lists all edges/faces in the nonconforming mesh. More...
#include <ncmesh.hpp>
Classes | |
struct | MeshIdAndType |
Public Types | |
enum class | MeshIdType : char { CONFORMING , MASTER , SLAVE , UNRECOGNIZED } |
Public Member Functions | |
void | OrientedPointMatrix (const Slave &slave, DenseMatrix &oriented_matrix) const |
MeshIdAndType | GetMeshIdAndType (int index) const |
Return a mesh id and type for a given nc index. | |
MeshIdType | GetMeshIdType (int index) const |
Return a face type for a given nc index. | |
bool | CheckMeshIdType (int index, MeshIdType type) const |
Given an index, check if this is a certain face type. | |
void | Clear () |
Erase the contents of the conforming, master and slave arrays. | |
bool | Empty () const |
Whether the NCList is empty. | |
long | TotalSize () const |
The total size of the component arrays in the NCList. | |
long | MemoryUsage () const |
~NCList () | |
Public Attributes | |
Array< MeshId > | conforming |
All MeshIds corresponding to conformal faces. | |
Array< Master > | masters |
All MeshIds corresponding to master faces. | |
Array< Slave > | slaves |
All MeshIds corresponding to slave faces. | |
Array< DenseMatrix * > | point_matrices [Geometry::NumGeom] |
List of unique point matrices for each slave geometry. | |
Lists all edges/faces in the nonconforming mesh.
Definition at line 229 of file ncmesh.hpp.
|
strong |
Particular MeshId type, used for allowing static casting to the appropriate child type after searching the NCList. UNRECOGNIZED denotes that an instance is not known within the NCList, meaning that it does not play a part in NC mechanics. This can be because the index did not exist in the original Mesh, or because the entry is a boundary face, whose NC status is always conforming.
Enumerator | |
---|---|
CONFORMING | |
MASTER | |
SLAVE | |
UNRECOGNIZED |
Definition at line 247 of file ncmesh.hpp.
|
inline |
Definition at line 283 of file ncmesh.hpp.
bool mfem::NCMesh::NCList::CheckMeshIdType | ( | int | index, |
MeshIdType | type ) const |
Given an index, check if this is a certain face type.
Definition at line 3537 of file ncmesh.cpp.
void mfem::NCMesh::NCList::Clear | ( | ) |
Erase the contents of the conforming, master and slave arrays.
Definition at line 3490 of file ncmesh.cpp.
|
inline |
Whether the NCList is empty.
Definition at line 269 of file ncmesh.hpp.
NCMesh::NCList::MeshIdAndType mfem::NCMesh::NCList::GetMeshIdAndType | ( | int | index | ) | const |
Return a mesh id and type for a given nc index.
Definition at line 3509 of file ncmesh.cpp.
NCMesh::NCList::MeshIdType mfem::NCMesh::NCList::GetMeshIdType | ( | int | index | ) | const |
Return a face type for a given nc index.
Definition at line 3529 of file ncmesh.cpp.
long mfem::NCMesh::NCList::MemoryUsage | ( | ) | const |
The memory usage of the three public arrays. Does not account for the inverse index.
Definition at line 6341 of file ncmesh.cpp.
void mfem::NCMesh::NCList::OrientedPointMatrix | ( | const Slave & | slave, |
DenseMatrix & | oriented_matrix ) const |
Definition at line 3468 of file ncmesh.cpp.
|
inline |
The total size of the component arrays in the NCList.
Definition at line 276 of file ncmesh.hpp.
All MeshIds corresponding to conformal faces.
Definition at line 231 of file ncmesh.hpp.
All MeshIds corresponding to master faces.
Definition at line 232 of file ncmesh.hpp.
Array<DenseMatrix*> mfem::NCMesh::NCList::point_matrices[Geometry::NumGeom] |
List of unique point matrices for each slave geometry.
Definition at line 236 of file ncmesh.hpp.
All MeshIds corresponding to slave faces.
Definition at line 233 of file ncmesh.hpp.