OGS
Mesh2MeshPropertyInterpolation.h
Go to the documentation of this file.
1
15#pragma once
16
18
19namespace MeshLib
20{
21
22class Mesh;
23}
24
25namespace MeshToolsLib
26{
27
35{
36public:
44 std::string const& property_name);
45
53 bool setPropertiesForMesh(MeshLib::Mesh& dest_mesh) const;
54
55private:
61 MeshLib::Mesh const& dest_mesh,
62 MeshLib::PropertyVector<double>& dest_properties) const;
63
72 std::vector<double>& interpolated_properties) const;
73
75 std::string const& _property_name;
76};
77
78} // namespace MeshToolsLib
void interpolatePropertiesForMesh(MeshLib::Mesh const &dest_mesh, MeshLib::PropertyVector< double > &dest_properties) const
void interpolateElementPropertiesToNodeProperties(std::vector< double > &interpolated_properties) const
Mesh2MeshPropertyInterpolation(MeshLib::Mesh const &src_mesh, std::string const &property_name)