![]() |
MFEM v4.8.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 250 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 268 of file ncmesh.hpp.
|
inline |
Definition at line 304 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 4016 of file ncmesh.cpp.
void mfem::NCMesh::NCList::Clear | ( | ) |
Erase the contents of the conforming, master and slave arrays.
Definition at line 3969 of file ncmesh.cpp.
|
inline |
Whether the NCList is empty.
Definition at line 290 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 3988 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 4008 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 6854 of file ncmesh.cpp.
void mfem::NCMesh::NCList::OrientedPointMatrix | ( | const Slave & | slave, |
DenseMatrix & | oriented_matrix ) const |
Definition at line 3947 of file ncmesh.cpp.
|
inline |
The total size of the component arrays in the NCList.
Definition at line 297 of file ncmesh.hpp.
All MeshIds corresponding to conformal faces.
Definition at line 252 of file ncmesh.hpp.
All MeshIds corresponding to master faces.
Definition at line 253 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 257 of file ncmesh.hpp.
All MeshIds corresponding to slave faces.
Definition at line 254 of file ncmesh.hpp.