Struct ode_solvers::dopri5::Dopri5 [−][src]
pub struct Dopri5<V, F> where
F: System<V>, { /* fields omitted */ }
Expand description
Structure containing the parameters for the numerical integration.
Implementations
Default initializer for the structure
Arguments
f
- Structure implementing the Systemtrait x
- Initial value of the independent variable (usually time)x_end
- Final value of the independent variabledx
- Increment in the dense output. This argument has no effect if the output type is Sparsey
- Initial value of the dependent variable(s)rtol
- Relative tolerance used in the computation of the adaptive step sizeatol
- Absolute tolerance used in the computation of the adaptive step size
Advanced initializer for the structure.
Arguments
f
- Structure implementing the Systemtrait x
- Initial value of the independent variable (usually time)x_end
- Final value of the independent variabledx
- Increment in the dense output. This argument has no effect if the output type is Sparsey
- Initial value of the dependent variable(s)rtol
- Relative tolerance used in the computation of the adaptive step sizeatol
- Absolute tolerance used in the computation of the adaptive step sizesafety_factor
- Safety factor used in the computation of the adaptive step sizebeta
- Value of the beta coefficient of the PI controller. Default is 0.04fac_min
- Minimum factor between two successive steps. Default is 0.2fac_max
- Maximum factor between two successive steps. Default is 10.0h_max
- Maximum step size. Default isx_end-x
h
- Initial value of the step size. If h = 0.0, the intial value of h is computed automaticallyn_max
- Maximum number of iterations. Default is 100000n_stiff
- Stifness is tested when the number of iterations is a multiple of n_stiff. Default is 1000out_type
- Type of the output. Must be a variant of the OutputType enum. Default is Dense
Core integration method.
Auto Trait Implementations
impl<V, F> RefUnwindSafe for Dopri5<V, F> where
F: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, F> UnwindSafe for Dopri5<V, F> where
F: UnwindSafe,
V: UnwindSafe,
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
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.