OGS
BoundaryElementsAtPoint.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <vector>
13
14namespace GeoLib
15{
16class Point;
17}
18
19namespace MeshLib
20{
21class Mesh;
22class Element;
23}
24
25namespace MeshGeoToolsLib
26{
27class MeshNodeSearcher;
28
31{
32public:
43 MeshNodeSearcher const& mshNodeSearcher,
44 GeoLib::Point const& point,
45 const bool multiple_nodes_allowed);
46
48
49 GeoLib::Point const& getPoint() const
50 {
51 return _point;
52 }
53
55 std::vector<MeshLib::Element*> const& getBoundaryElements() const
56 {
57 return _boundary_elements;
58 }
59
60private:
62 std::vector<MeshLib::Element*> _boundary_elements;
63};
64
65} // end namespace MeshGeoToolsLib
This class collects point elements located at a given point elements.
std::vector< MeshLib::Element * > const & getBoundaryElements() const
Return the vector of boundary elements (i.e. points).
BoundaryElementsAtPoint(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Point const &point, const bool multiple_nodes_allowed)
std::vector< MeshLib::Element * > _boundary_elements
TemplateElement< PointRule1 > Point
Definition Point.h:20