Timing
Defines the time and place of application of the action.
Action(Timing timing, const mesh::PtrMesh &mesh, mapping::Mapping::MeshRequirement requirement)
@ SCALING_MULTIPLY_BY_AREA
Multiplies the data by the area of neighboring edges/triangles.
@ SCALING_DIVIDE_BY_AREA
Divides the data by the area of neighboring edges/triangles.
ScaleByAreaAction(Timing timing, int targetDataID, const mesh::PtrMesh &mesh, Scaling scaling)
Constructor.
void performAction() final override
Scales data on mesh nodes according to selected scaling type.
mesh::PtrData _targetData
contains actions to modify exchanged data.
contains the logging framework.
provides Mesh, Data and primitives.
std::shared_ptr< Data > PtrData
std::shared_ptr< Mesh > PtrMesh