OGS
|
This class collects element faces located along a surface. Note that internal faces are not collected in this class.
Definition at line 32 of file BoundaryElementsOnSurface.h.
#include <BoundaryElementsOnSurface.h>
Public Member Functions | |
BoundaryElementsOnSurface (MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Surface const &sfc) | |
virtual | ~BoundaryElementsOnSurface () |
destructor | |
GeoLib::Surface const & | getSurface () const |
std::vector< MeshLib::Element * > const & | getBoundaryElements () const |
Private Attributes | |
GeoLib::Surface const & | _sfc |
std::vector< MeshLib::Element * > | _boundary_elements |
MeshGeoToolsLib::BoundaryElementsOnSurface::BoundaryElementsOnSurface | ( | MeshLib::Mesh const & | mesh, |
MeshNodeSearcher const & | mshNodeSearcher, | ||
GeoLib::Surface const & | sfc ) |
Constructor
mesh | a mesh object |
mshNodeSearcher | a MeshNodeSearcher object which is internally used to search mesh nodes |
sfc | a surface object where face elements are searched for |
Definition at line 20 of file BoundaryElementsOnSurface.cpp.
References _boundary_elements, MeshLib::Mesh::getElement(), MeshLib::Element::getFace(), MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs(), MeshLib::ElementSearch::getSearchedElementIDs(), and MeshLib::ElementSearch::searchByNodeIDs().
|
virtual |
destructor
Definition at line 72 of file BoundaryElementsOnSurface.cpp.
References _boundary_elements.
|
inline |
Return the vector of boundary elements (i.e. faces). The elements are unsorted.
Definition at line 58 of file BoundaryElementsOnSurface.h.
References _boundary_elements.
|
inline |
Deploying this method the user can get access to the underlying GeoLib::Surface.
Definition at line 53 of file BoundaryElementsOnSurface.h.
References _sfc.
Referenced by MeshGeoToolsLib::BoundaryElementsSearcher::getBoundaryElements().
|
private |
Definition at line 62 of file BoundaryElementsOnSurface.h.
Referenced by BoundaryElementsOnSurface(), ~BoundaryElementsOnSurface(), and getBoundaryElements().
|
private |
Definition at line 61 of file BoundaryElementsOnSurface.h.
Referenced by getSurface().