|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Metadata describing operator characteristics. More...
#include <operator.h>

Public Attributes | |
| SimOperatorCategory | category |
| SimWarpLevel | warp_level |
| const char * | schema_key |
| bool | has_ir_opcode |
| SimIROpcode | ir_opcode |
| bool | is_noise |
| bool | is_differentiable |
| bool | is_spectral |
| bool | is_local |
| bool | is_nonlocal |
| bool | is_linear |
| bool | is_warp |
| bool | preserves_real |
| double | preferred_dt |
| const char * | abstract_id |
| const char *(* | abstract_id_fn )(const struct SimOperator *op) |
| uint32_t | algebraic_flags |
| SimDeterminismFlags | determinism_flags |
| SimOperatorNeuralContract | neural |
| SimOperatorRepresentation | representation |
| SimOperatorApproximation | approximation |
| SimOperatorInvariant | invariants [SIM_OPERATOR_MAX_INVARIANTS] |
| uint8_t | invariant_count |
Metadata describing operator characteristics.
| const char* SimOperatorInfo::abstract_id |
Optional abstract identifier (functional identity).
| const char *(* SimOperatorInfo::abstract_id_fn) (const struct SimOperator *op) |
Callback to fetch abstract id.
| uint32_t SimOperatorInfo::algebraic_flags |
Bitmask of algebraic properties.
| SimOperatorApproximation SimOperatorInfo::approximation |
Approximation order metadata.
| SimOperatorCategory SimOperatorInfo::category |
Operator category.
| SimDeterminismFlags SimOperatorInfo::determinism_flags |
Determinism guarantees promised by the operator.
| bool SimOperatorInfo::has_ir_opcode |
True when core metadata supplied ir_opcode.
| uint8_t SimOperatorInfo::invariant_count |
Number of invariants populated.
| SimOperatorInvariant SimOperatorInfo::invariants[SIM_OPERATOR_MAX_INVARIANTS] |
Declared invariants.
| SimIROpcode SimOperatorInfo::ir_opcode |
Core-owned semantic opcode for KernelIR tagging.
| bool SimOperatorInfo::is_differentiable |
Whether operator is differentiable (for AD/sensitivity).
| bool SimOperatorInfo::is_linear |
Enables reordering optimizations.
| bool SimOperatorInfo::is_local |
Stencil or pointwise operator.
| bool SimOperatorInfo::is_noise |
Whether operator involves randomness.
| bool SimOperatorInfo::is_nonlocal |
Convolution, diffusion, or other nonlocal operator.
| bool SimOperatorInfo::is_spectral |
Requires FFT/spectral domain.
| bool SimOperatorInfo::is_warp |
Nonlinear transform classified as a warp.
| SimOperatorNeuralContract SimOperatorInfo::neural |
Neural inference contract metadata.
| double SimOperatorInfo::preferred_dt |
Suggested timestep, or 0.0 for no preference.
| bool SimOperatorInfo::preserves_real |
True if operator keeps real fields real.
| SimOperatorRepresentation SimOperatorInfo::representation |
Representation hints.
| const char* SimOperatorInfo::schema_key |
Stable identity independent of rich schema metadata.
| SimWarpLevel SimOperatorInfo::warp_level |
Warp classification level.