DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
diffeq::core::composable::InterpolationConfig Struct Reference

Configuration for interpolation and dense output. More...

#include <interpolation_decorator.hpp>

Public Member Functions

void validate () const
 Validate configuration parameters.
 

Public Attributes

InterpolationMethod method {InterpolationMethod::CUBIC_SPLINE}
 
size_t max_history_size {10000}
 
bool enable_adaptive_sampling {true}
 
double adaptive_tolerance {1e-6}
 
double min_step_size {1e-12}
 
bool enable_compression {false}
 
size_t compression_threshold {1000}
 
double compression_tolerance {1e-8}
 
bool allow_extrapolation {false}
 
double extrapolation_warning_threshold {0.1}
 

Detailed Description

Configuration for interpolation and dense output.

Definition at line 27 of file interpolation_decorator.hpp.

Member Function Documentation

◆ validate()

void diffeq::core::composable::InterpolationConfig::validate ( ) const
inline

Validate configuration parameters.

Exceptions
std::invalid_argumentif configuration is invalid

Definition at line 47 of file interpolation_decorator.hpp.

Member Data Documentation

◆ adaptive_tolerance

double diffeq::core::composable::InterpolationConfig::adaptive_tolerance {1e-6}

Definition at line 31 of file interpolation_decorator.hpp.

◆ allow_extrapolation

bool diffeq::core::composable::InterpolationConfig::allow_extrapolation {false}

Definition at line 40 of file interpolation_decorator.hpp.

◆ compression_threshold

size_t diffeq::core::composable::InterpolationConfig::compression_threshold {1000}

Definition at line 36 of file interpolation_decorator.hpp.

◆ compression_tolerance

double diffeq::core::composable::InterpolationConfig::compression_tolerance {1e-8}

Definition at line 37 of file interpolation_decorator.hpp.

◆ enable_adaptive_sampling

bool diffeq::core::composable::InterpolationConfig::enable_adaptive_sampling {true}

Definition at line 30 of file interpolation_decorator.hpp.

◆ enable_compression

bool diffeq::core::composable::InterpolationConfig::enable_compression {false}

Definition at line 35 of file interpolation_decorator.hpp.

◆ extrapolation_warning_threshold

double diffeq::core::composable::InterpolationConfig::extrapolation_warning_threshold {0.1}

Definition at line 41 of file interpolation_decorator.hpp.

◆ max_history_size

size_t diffeq::core::composable::InterpolationConfig::max_history_size {10000}

Definition at line 29 of file interpolation_decorator.hpp.

◆ method

InterpolationMethod diffeq::core::composable::InterpolationConfig::method {InterpolationMethod::CUBIC_SPLINE}

Definition at line 28 of file interpolation_decorator.hpp.

◆ min_step_size

double diffeq::core::composable::InterpolationConfig::min_step_size {1e-12}

Definition at line 32 of file interpolation_decorator.hpp.


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