37 logging::Logger
_log{
"action::ScaleByAreaAction"};
Abstract base class for configurable actions on data and/or meshes.
Timing
Defines the time and place of application of the action.
@ 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.