OGS
BoundaryElementsAtPoint.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <vector>
7
8namespace GeoLib
9{
10class Point;
11}
12
13namespace MeshLib
14{
15class Mesh;
16class Element;
17}
18
19namespace MeshGeoToolsLib
20{
22
25{
26public:
37 MeshNodeSearcher const& mshNodeSearcher,
38 GeoLib::Point const& point,
39 const bool multiple_nodes_allowed);
40
42
43 GeoLib::Point const& getPoint() const
44 {
45 return _point;
46 }
47
49 std::vector<MeshLib::Element*> const& getBoundaryElements() const
50 {
51 return _boundary_elements;
52 }
53
54private:
56 std::vector<MeshLib::Element*> _boundary_elements;
57};
58
59} // end namespace MeshGeoToolsLib
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