OGS
|
A subset of nodes on a single mesh.
Definition at line 25 of file MeshSubset.h.
#include <MeshSubset.h>
Public Member Functions | |
MeshSubset (const Mesh &msh, std::vector< Node * > const &vec_items, const bool use_taylor_hood_elements=false) | |
std::size_t | getMeshID () const |
return this mesh ID | |
bool | useTaylorHoodElements () const |
std::vector< Element * >::const_iterator | elementsBegin () const |
std::vector< Element * >::const_iterator | elementsEnd () const |
std::vector< Node * > const & | getNodes () const |
Mesh const & | getMesh () const |
Private Attributes | |
Mesh const & | _msh |
std::vector< Node * > const & | _nodes |
bool const | _use_taylor_hood_elements |
|
inline |
Construct a mesh subset from vector of nodes on the given mesh.
msh | Mesh |
vec_items | Vector of Node pointers. |
use_taylor_hood_elements | Flag to indicate whether the Taylor-Hood elements are used. |
Definition at line 33 of file MeshSubset.h.
References _msh, _nodes, ERR(), MeshLib::Mesh::getNodes(), and OGS_FATAL.
|
inline |
Definition at line 80 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getElements().
|
inline |
Definition at line 85 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getElements().
|
inline |
Definition at line 92 of file MeshSubset.h.
References _msh.
Referenced by ProcessLib::createSourceTerm(), and NumLib::MeshComponentMap::getSubset().
|
inline |
return this mesh ID
Definition at line 76 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getID().
Referenced by addPrimaryVariablesToMesh(), NumLib::MeshComponentMap::getSubset(), ProcessLib::LIE::SmallDeformation::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::operator()(), NumLib::transformVariableFromGlobalVector(), and NumLib::transformVariableFromGlobalVector().
|
inline |
Definition at line 90 of file MeshSubset.h.
References _nodes.
Referenced by NumLib::MeshComponentMap::getSubset().
|
inline |
|
private |
Definition at line 95 of file MeshSubset.h.
Referenced by MeshSubset(), elementsBegin(), elementsEnd(), getMesh(), and getMeshID().
|
private |
Definition at line 96 of file MeshSubset.h.
Referenced by MeshSubset(), and getNodes().
|
private |
Definition at line 97 of file MeshSubset.h.
Referenced by useTaylorHoodElements().