Struct nyx_space::propagators::RK4Fixed [−][src]
pub struct RK4Fixed {}
Expand description
RK4Fixed
is a fixed step RK4.
If initialized with an PropOpts.with_adaptive_step
, the variable step will not be taken into consideration.
Trait Implementations
Returns the order of this integrator (as u8 because there probably isn’t an order greater than 255). The order is used for the adaptive step size only to compute the error between estimates. Read more
Returns the stages of this integrator (as usize because it’s used as indexing)
Returns a pointer to a list of f64 corresponding to the A coefficients of the Butcher table for that RK.
This module only supports implicit integrators, and as such, Self.a_coeffs().len()
must be of
size (order+1)*(order)/2.
Warning: this RK trait supposes that the implementation is consistent, i.e. c_i = \sum_j a_{ij}. Read more
Auto Trait Implementations
impl RefUnwindSafe for RK4Fixed
impl UnwindSafe for RK4Fixed
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.