|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration parameters for integrator construction. More...
#include <integrator.h>

Public Attributes | |
| IntegratorDriftFn | drift |
| IntegratorNoiseFn | noise |
| IntegratorDestroyFn | destroy |
| void * | userdata |
| size_t | target_field_index |
| double | initial_dt |
| double | min_dt |
| double | max_dt |
| double | tolerance |
| double | safety |
| bool | adaptive |
| bool | enable_stochastic |
| double | stochastic_strength |
| uint32_t | random_seed |
| size_t | workspace_hint |
| double | subordination_alpha |
| size_t | subordination_quadrature_n |
Configuration parameters for integrator construction.
Zero-initialized optional fields select the defaults in integrator_configure(). The drift callback is required for all concrete integrators.
| bool IntegratorConfig::adaptive |
Enable adaptive timestep control.
| IntegratorDestroyFn IntegratorConfig::destroy |
Optional teardown hook for integrator-owned state.
| IntegratorDriftFn IntegratorConfig::drift |
Deterministic drift evaluator (required).
| bool IntegratorConfig::enable_stochastic |
Enable stochastic source injection.
| double IntegratorConfig::initial_dt |
Initial timestep suggestion.
| double IntegratorConfig::max_dt |
Upper bound on adaptive timesteps.
| double IntegratorConfig::min_dt |
Lower bound on adaptive timesteps.
| IntegratorNoiseFn IntegratorConfig::noise |
Optional stochastic sample generator.
| uint32_t IntegratorConfig::random_seed |
Seed for the internal RNG.
| double IntegratorConfig::safety |
Safety factor for step adjustment.
| double IntegratorConfig::stochastic_strength |
Scaling applied to stochastic sources.
| double IntegratorConfig::subordination_alpha |
Optional alpha override for the subordination integrator.
| size_t IntegratorConfig::subordination_quadrature_n |
Optional quadrature sample count override for subordination.
| size_t IntegratorConfig::target_field_index |
Context field index advanced by this integrator.
| double IntegratorConfig::tolerance |
Error tolerance for adaptivity.
| void* IntegratorConfig::userdata |
User payload forwarded to callbacks.
| size_t IntegratorConfig::workspace_hint |
Optional preallocation hint (elements).