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