|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration for scaling one compatible field into another. More...
#include <scale.h>
Public Attributes | |
| size_t | input_field |
| size_t | output_field |
| double | scale |
| bool | accumulate |
| bool | scale_by_dt |
Configuration for scaling one compatible field into another.
| bool SimScaleOperatorConfig::accumulate |
Add into the destination when true; otherwise overwrite it.
| size_t SimScaleOperatorConfig::input_field |
Source field index.
| size_t SimScaleOperatorConfig::output_field |
Destination field index; layout and scalar kind must match input.
| double SimScaleOperatorConfig::scale |
Finite scalar multiplier; non-finite values normalize to 0.
| bool SimScaleOperatorConfig::scale_by_dt |
Multiply scale by max(dt, 0) when true.