OGS
MeshUtils.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <vector>
13
14namespace MeshLib
15{
16class Element;
17class Mesh;
18class Node;
19} // namespace MeshLib
20
21namespace ProcessLib
22{
23namespace HeatTransportBHE
24{
25/* TODO (naumov) Just an idea
26struct BheMeshSubset
27{
28 int material_id;
29 std::vector<MeshLib::Element*> elements;
30 std::vector<MeshLib::Node*> nodes;
31};
32*/
33
35{
36 std::vector<int> BHE_mat_IDs;
37 std::vector<std::vector<MeshLib::Element*>> BHE_elements;
38 std::vector<std::vector<MeshLib::Node*>> BHE_nodes;
39
40 // TODO (naumov) Just an idea: std::vector<BheMeshSubset> mesh_subsets;
41};
42
51} // end of namespace HeatTransportBHE
52} // namespace ProcessLib
BHEMeshData getBHEDataInMesh(MeshLib::Mesh const &mesh)
Definition MeshUtils.cpp:51
std::vector< std::vector< MeshLib::Node * > > BHE_nodes
Definition MeshUtils.h:38
std::vector< std::vector< MeshLib::Element * > > BHE_elements
Definition MeshUtils.h:37