OGS
|
A subset of nodes on a single mesh.
Definition at line 26 of file MeshSubset.h.
#include <MeshSubset.h>
Public Member Functions | |
MeshSubset (const Mesh &msh, std::vector< Node * > const &vec_items) | |
std::size_t | getMeshID () const |
return this mesh ID More... | |
std::size_t | getNumberOfNodes () const |
return the number of registered nodes More... | |
std::size_t | getNodeID (std::size_t const i) 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 |
|
inline |
Construct a mesh subset from vector of nodes on the given mesh.
Definition at line 32 of file MeshSubset.h.
References _msh, _nodes, ERR(), MeshLib::Mesh::getNodes(), and OGS_FATAL.
|
inline |
Definition at line 91 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getElements().
|
inline |
Definition at line 96 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getElements().
|
inline |
Definition at line 106 of file MeshSubset.h.
References _msh.
Referenced by ProcessLib::createSourceTerm(), and NumLib::MeshComponentMap::getSubset().
|
inline |
return this mesh ID
Definition at line 71 of file MeshSubset.h.
References _msh, and MeshLib::Mesh::getID().
Referenced by NumLib::MeshComponentMap::getSubset(), ProcessLib::LIE::HydroMechanics::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::operator()(), ProcessLib::LIE::SmallDeformation::LocalDataInitializer< LocalAssemblerInterface, LocalAssemblerDataMatrix, LocalAssemblerDataMatrixNearFracture, LocalAssemblerDataFracture, GlobalDim, ConstructorArgs >::operator()(), and NumLib::transformVariableFromGlobalVector().
|
inline |
Returns the global node id Node::getID() of i-th node in the mesh subset.
Definition at line 85 of file MeshSubset.h.
References _nodes.
|
inline |
Definition at line 101 of file MeshSubset.h.
References _nodes.
Referenced by NumLib::MeshComponentMap::getSubset().
|
inline |
return the number of registered nodes
Definition at line 77 of file MeshSubset.h.
References _nodes.
|
private |
Definition at line 112 of file MeshSubset.h.
Referenced by MeshSubset(), elementsBegin(), elementsEnd(), getMesh(), and getMeshID().
|
private |
Definition at line 113 of file MeshSubset.h.
Referenced by MeshSubset(), getNodeID(), getNodes(), and getNumberOfNodes().