|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration parameters for the elementwise math operator. More...
#include <math_operator.h>
Public Attributes | |
| size_t | lhs_field |
| size_t | rhs_field |
| size_t | output_field |
| SimElementwiseMathMode | mode |
| SimElementwiseMathRhsSource | rhs_source |
| double | rhs_constant |
| double | threshold |
| double | epsilon |
| double | true_value |
| double | false_value |
| bool | accumulate |
| bool | scale_by_dt |
Configuration parameters for the elementwise math operator.
| bool SimElementwiseMathOperatorConfig::accumulate |
Add into output when true.
| double SimElementwiseMathOperatorConfig::epsilon |
Equality tolerance for eq comparisons.
| double SimElementwiseMathOperatorConfig::false_value |
Value emitted when condition is false.
| size_t SimElementwiseMathOperatorConfig::lhs_field |
Primary input field.
| SimElementwiseMathMode SimElementwiseMathOperatorConfig::mode |
Operation selector.
| size_t SimElementwiseMathOperatorConfig::output_field |
Field receiving the result.
| double SimElementwiseMathOperatorConfig::rhs_constant |
Constant RHS when rhs_source=constant.
| size_t SimElementwiseMathOperatorConfig::rhs_field |
Secondary input field (optional).
| SimElementwiseMathRhsSource SimElementwiseMathOperatorConfig::rhs_source |
RHS source for binary ops/select.
| bool SimElementwiseMathOperatorConfig::scale_by_dt |
Scale accumulated writes by substep dt.
| double SimElementwiseMathOperatorConfig::threshold |
Threshold for step/select.
| double SimElementwiseMathOperatorConfig::true_value |
Value emitted when condition is true.