OGS
Mesh2MeshPropertyInterpolation.h
Go to the documentation of this file.
1
15
#pragma once
16
17
#include "
MeshLib/PropertyVector.h
"
18
19
namespace
MeshLib
20
{
21
22
class
Mesh;
23
}
24
25
namespace
MeshToolsLib
26
{
27
34
class
Mesh2MeshPropertyInterpolation
final
35
{
36
public
:
43
Mesh2MeshPropertyInterpolation
(
MeshLib::Mesh
const
& src_mesh,
44
std::string
const
& property_name);
45
53
bool
setPropertiesForMesh
(
MeshLib::Mesh
& dest_mesh)
const
;
54
55
private
:
60
void
interpolatePropertiesForMesh
(
61
MeshLib::Mesh
const
& dest_mesh,
62
MeshLib::PropertyVector<double>
& dest_properties)
const
;
63
71
void
interpolateElementPropertiesToNodeProperties
(
72
std::vector<double>& interpolated_properties)
const
;
73
74
MeshLib::Mesh
const
&
_src_mesh
;
75
std::string
const
&
_property_name
;
76
};
77
78
}
// namespace MeshToolsLib
PropertyVector.h
MeshLib::Mesh
Definition
Mesh.h:43
MeshLib::PropertyVector
Definition
TwoPhaseFlowWithPrhoMaterialProperties.h:28
MeshToolsLib::Mesh2MeshPropertyInterpolation
Definition
Mesh2MeshPropertyInterpolation.h:35
MeshToolsLib::Mesh2MeshPropertyInterpolation::interpolatePropertiesForMesh
void interpolatePropertiesForMesh(MeshLib::Mesh const &dest_mesh, MeshLib::PropertyVector< double > &dest_properties) const
Definition
Mesh2MeshPropertyInterpolation.cpp:88
MeshToolsLib::Mesh2MeshPropertyInterpolation::_src_mesh
MeshLib::Mesh const & _src_mesh
Definition
Mesh2MeshPropertyInterpolation.h:74
MeshToolsLib::Mesh2MeshPropertyInterpolation::setPropertiesForMesh
bool setPropertiesForMesh(MeshLib::Mesh &dest_mesh) const
Definition
Mesh2MeshPropertyInterpolation.cpp:36
MeshToolsLib::Mesh2MeshPropertyInterpolation::_property_name
std::string const & _property_name
Definition
Mesh2MeshPropertyInterpolation.h:75
MeshToolsLib::Mesh2MeshPropertyInterpolation::interpolateElementPropertiesToNodeProperties
void interpolateElementPropertiesToNodeProperties(std::vector< double > &interpolated_properties) const
Definition
Mesh2MeshPropertyInterpolation.cpp:153
MeshToolsLib::Mesh2MeshPropertyInterpolation::Mesh2MeshPropertyInterpolation
Mesh2MeshPropertyInterpolation(MeshLib::Mesh const &src_mesh, std::string const &property_name)
Definition
Mesh2MeshPropertyInterpolation.cpp:30
MeshLib
Definition
ProjectData.h:41
MeshToolsLib
Definition
Node.h:29
MeshToolsLib
MeshEditing
Mesh2MeshPropertyInterpolation.h
Generated by
1.11.0