OGS
HeatTransportBHE/BHE/MeshUtils.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 MeshLib
9{
10class Element;
11class Mesh;
12class Node;
13} // namespace MeshLib
14
15namespace ProcessLib
16{
17namespace HeatTransportBHE
18{
19/* TODO (naumov) Just an idea
20struct BheMeshSubset
21{
22 int material_id;
23 std::vector<MeshLib::Element*> elements;
24 std::vector<MeshLib::Node*> nodes;
25};
26*/
27
29{
30 std::vector<int> BHE_mat_IDs;
31 std::vector<std::vector<MeshLib::Element*>> BHE_elements;
32 std::vector<std::vector<MeshLib::Node*>> BHE_nodes;
33
34 // TODO (naumov) Just an idea: std::vector<BheMeshSubset> mesh_subsets;
35};
36
45} // end of namespace HeatTransportBHE
46} // namespace ProcessLib
BHEMeshData getBHEDataInMesh(MeshLib::Mesh const &mesh)
std::vector< std::vector< MeshLib::Node * > > BHE_nodes
std::vector< std::vector< MeshLib::Element * > > BHE_elements