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

Optional metadata for creating differential nodes. More...

#include <kernel_ir.h>

Collaboration diagram for SimIRDiffSpec:

Public Attributes

SimIRNodeId operand
 
size_t axis
 
double dx
 
double scale
 
size_t order
 
size_t stencil_order
 
SimIRDiffMethod method
 
double consistency_constant
 
SimIRBoundaryPolicy boundary
 
SimIRType result_type
 

Detailed Description

Optional metadata for creating differential nodes.

Member Data Documentation

◆ axis

size_t SimIRDiffSpec::axis

Axis index (0-based).

◆ boundary

SimIRBoundaryPolicy SimIRDiffSpec::boundary

Boundary handling policy.

◆ consistency_constant

double SimIRDiffSpec::consistency_constant

Consistency constant C_p for truncation error bounds.

◆ dx

double SimIRDiffSpec::dx

Grid spacing along axis.

◆ method

SimIRDiffMethod SimIRDiffSpec::method

Stencil method selection.

◆ operand

SimIRNodeId SimIRDiffSpec::operand

Operand node identifier.

◆ order

size_t SimIRDiffSpec::order

Order of the derivative (defaults to 1).

◆ result_type

SimIRType SimIRDiffSpec::result_type

Resulting value type (defaults to operand type).

◆ scale

double SimIRDiffSpec::scale

Scaling factor applied after discretization.

◆ stencil_order

size_t SimIRDiffSpec::stencil_order

Accuracy order p of the finite-difference stencil.


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