|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration for the complex math operator. More...
#include <complex_math.h>
Public Attributes | |
| size_t | lhs_field |
| size_t | rhs_field |
| size_t | output_field |
| SimComplexMathMode | mode |
| SimComplexMathRhsSource | rhs_source |
| double | rhs_constant_re |
| double | rhs_constant_im |
| double | lhs_scale_re |
| double | lhs_scale_im |
| double | rhs_scale_re |
| double | rhs_scale_im |
| double | bias_re |
| double | bias_im |
| double | epsilon |
| SimComplexMathOutputComponent | output_component |
| SimComplexMathPhaseWrap | phase_wrap |
| bool | accumulate |
| bool | scale_by_dt |
Configuration for the complex math operator.
| bool SimComplexMathOperatorConfig::accumulate |
Add into output when true.
| double SimComplexMathOperatorConfig::bias_im |
Bias imaginary component.
| double SimComplexMathOperatorConfig::bias_re |
Bias real component.
| double SimComplexMathOperatorConfig::epsilon |
Guard for log/division singularities.
| size_t SimComplexMathOperatorConfig::lhs_field |
LHS field index.
| double SimComplexMathOperatorConfig::lhs_scale_im |
LHS pre-scale imaginary component.
| double SimComplexMathOperatorConfig::lhs_scale_re |
LHS pre-scale real component.
| SimComplexMathMode SimComplexMathOperatorConfig::mode |
Complex math operation.
| SimComplexMathOutputComponent SimComplexMathOperatorConfig::output_component |
Real output selection.
| size_t SimComplexMathOperatorConfig::output_field |
Output field index.
| SimComplexMathPhaseWrap SimComplexMathOperatorConfig::phase_wrap |
Phase wrap policy.
| double SimComplexMathOperatorConfig::rhs_constant_im |
RHS constant imaginary component.
| double SimComplexMathOperatorConfig::rhs_constant_re |
RHS constant real component.
| size_t SimComplexMathOperatorConfig::rhs_field |
RHS field index (ignored for constants).
| double SimComplexMathOperatorConfig::rhs_scale_im |
RHS pre-scale imaginary component.
| double SimComplexMathOperatorConfig::rhs_scale_re |
RHS pre-scale real component.
| SimComplexMathRhsSource SimComplexMathOperatorConfig::rhs_source |
RHS source selection.
| bool SimComplexMathOperatorConfig::scale_by_dt |
Scale accumulated writes by substep dt.