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

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
 

Detailed Description

Configuration parameters for the elementwise math operator.

Member Data Documentation

◆ accumulate

bool SimElementwiseMathOperatorConfig::accumulate

Add into output when true.

◆ epsilon

double SimElementwiseMathOperatorConfig::epsilon

Equality tolerance for eq comparisons.

◆ false_value

double SimElementwiseMathOperatorConfig::false_value

Value emitted when condition is false.

◆ lhs_field

size_t SimElementwiseMathOperatorConfig::lhs_field

Primary input field.

◆ mode

SimElementwiseMathMode SimElementwiseMathOperatorConfig::mode

Operation selector.

◆ output_field

size_t SimElementwiseMathOperatorConfig::output_field

Field receiving the result.

◆ rhs_constant

double SimElementwiseMathOperatorConfig::rhs_constant

Constant RHS when rhs_source=constant.

◆ rhs_field

size_t SimElementwiseMathOperatorConfig::rhs_field

Secondary input field (optional).

◆ rhs_source

SimElementwiseMathRhsSource SimElementwiseMathOperatorConfig::rhs_source

RHS source for binary ops/select.

◆ scale_by_dt

bool SimElementwiseMathOperatorConfig::scale_by_dt

Scale accumulated writes by substep dt.

◆ threshold

double SimElementwiseMathOperatorConfig::threshold

Threshold for step/select.

◆ true_value

double SimElementwiseMathOperatorConfig::true_value

Value emitted when condition is true.


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