Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimComplexMathOperatorConfig Struct Reference

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
 

Detailed Description

Configuration for the complex math operator.

Member Data Documentation

◆ accumulate

bool SimComplexMathOperatorConfig::accumulate

Add into output when true.

◆ bias_im

double SimComplexMathOperatorConfig::bias_im

Bias imaginary component.

◆ bias_re

double SimComplexMathOperatorConfig::bias_re

Bias real component.

◆ epsilon

double SimComplexMathOperatorConfig::epsilon

Guard for log/division singularities.

◆ lhs_field

size_t SimComplexMathOperatorConfig::lhs_field

LHS field index.

◆ lhs_scale_im

double SimComplexMathOperatorConfig::lhs_scale_im

LHS pre-scale imaginary component.

◆ lhs_scale_re

double SimComplexMathOperatorConfig::lhs_scale_re

LHS pre-scale real component.

◆ mode

SimComplexMathMode SimComplexMathOperatorConfig::mode

Complex math operation.

◆ output_component

SimComplexMathOutputComponent SimComplexMathOperatorConfig::output_component

Real output selection.

◆ output_field

size_t SimComplexMathOperatorConfig::output_field

Output field index.

◆ phase_wrap

SimComplexMathPhaseWrap SimComplexMathOperatorConfig::phase_wrap

Phase wrap policy.

◆ rhs_constant_im

double SimComplexMathOperatorConfig::rhs_constant_im

RHS constant imaginary component.

◆ rhs_constant_re

double SimComplexMathOperatorConfig::rhs_constant_re

RHS constant real component.

◆ rhs_field

size_t SimComplexMathOperatorConfig::rhs_field

RHS field index (ignored for constants).

◆ rhs_scale_im

double SimComplexMathOperatorConfig::rhs_scale_im

RHS pre-scale imaginary component.

◆ rhs_scale_re

double SimComplexMathOperatorConfig::rhs_scale_re

RHS pre-scale real component.

◆ rhs_source

SimComplexMathRhsSource SimComplexMathOperatorConfig::rhs_source

RHS source selection.

◆ scale_by_dt

bool SimComplexMathOperatorConfig::scale_by_dt

Scale accumulated writes by substep dt.


The documentation for this struct was generated from the following file: