Janus 2.0.0
High-performance C++20 dual-mode numerical framework
Loading...
Searching...
No Matches
janus::RK45Result< Scalar > Struct Template Reference

Result of RK45 step with error estimate. More...

#include <IntegratorStep.hpp>

Public Attributes

JanusVector< Scalar > y5
 5th-order solution (recommended for propagation)
JanusVector< Scalar > y4
 4th-order solution (used for error estimation)
Scalar error
 Estimated local truncation error: ||y5 - y4||.

Detailed Description

template<typename Scalar>
struct janus::RK45Result< Scalar >

Result of RK45 step with error estimate.

Template Parameters
ScalarNumeric or symbolic scalar type

Member Data Documentation

◆ error

template<typename Scalar>
Scalar janus::RK45Result< Scalar >::error

Estimated local truncation error: ||y5 - y4||.

◆ y4

template<typename Scalar>
JanusVector<Scalar> janus::RK45Result< Scalar >::y4

4th-order solution (used for error estimation)

◆ y5

template<typename Scalar>
JanusVector<Scalar> janus::RK45Result< Scalar >::y5

5th-order solution (recommended for propagation)


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