[−][src]Trait nyx_space::propagators::error_ctrl::ErrorCtrl
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>,
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.
Implementors
impl ErrorCtrl for LargestError
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
impl ErrorCtrl for LargestState
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
impl ErrorCtrl for LargestStep
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
impl ErrorCtrl for RSSState
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
impl ErrorCtrl for RSSStatePV
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
impl ErrorCtrl for RSSStep
[src]
fn estimate<N: DimName>(
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,
[src]
error_est: &VectorN<f64, N>,
candidate: &VectorN<f64, N>,
cur_state: &VectorN<f64, N>
) -> f64 where
DefaultAllocator: Allocator<f64, N>,