[][src]Trait nyx_space::propagators::error_ctrl::ErrorCtrl

pub trait ErrorCtrl where
    Self: Copy
{ fn estimate<N: DimName>(
        error_est: &VectorN<f64, N>,
        candidate: &VectorN<f64, N>,
        cur_state: &VectorN<f64, N>
    ) -> f64
    where
        DefaultAllocator: Allocator<f64, N>
; }

The Error Control trait manages how a propagator computes the error in the current step.

Required methods

fn estimate<N: DimName>(
    error_est: &VectorN<f64, N>,
    candidate: &VectorN<f64, N>,
    cur_state: &VectorN<f64, N>
) -> f64 where
    DefaultAllocator: Allocator<f64, N>, 

Computes the actual error of the current step.

The error_est is the estimated error computed from the difference in the two stages of of the RK propagator. The candidate variable is the candidate state, and cur_state is the current state. This function must return the error.

Loading content...

Implementors

impl ErrorCtrl for LargestError[src]

impl ErrorCtrl for LargestState[src]

impl ErrorCtrl for LargestStep[src]

impl ErrorCtrl for RSSState[src]

impl ErrorCtrl for RSSStatePV[src]

impl ErrorCtrl for RSSStep[src]

impl ErrorCtrl for RSSStepPV[src]

impl ErrorCtrl for RSSStepPVStm[src]

Loading content...