OGS
BoundaryElementsOnSurface.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 Surface;
11}
12
13namespace MeshLib
14{
15class Mesh;
16class Element;
17}
18
19namespace MeshGeoToolsLib
20{
22
28{
29public:
37 MeshNodeSearcher const& mshNodeSearcher,
38 GeoLib::Surface const& sfc);
39
42
48 GeoLib::Surface const& getSurface() const {return _sfc;}
49
53 std::vector<MeshLib::Element*> const& getBoundaryElements() const {return _boundary_elements;}
54
55private:
57 std::vector<MeshLib::Element*> _boundary_elements;
58};
59
60} // end namespace MeshGeoToolsLib
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
BoundaryElementsOnSurface(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Surface const &sfc)
std::vector< MeshLib::Element * > _boundary_elements
std::vector< MeshLib::Element * > const & getBoundaryElements() const