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 System trait
  • x - Initial value of the independent variable (usually time)
  • x_end - Final value of the independent variable
  • dx - Increment in the dense output. This argument has no effect if the output type is Sparse
  • y - Initial value of the dependent variable(s)
  • rtol - Relative tolerance used in the computation of the adaptive step size
  • atol - Absolute tolerance used in the computation of the adaptive step size

Advanced initializer for the structure.

Arguments

  • f - Structure implementing the System trait
  • x - Initial value of the independent variable (usually time)
  • x_end - Final value of the independent variable
  • dx - Increment in the dense output. This argument has no effect if the output type is Sparse
  • y - Initial value of the dependent variable(s)
  • rtol - Relative tolerance used in the computation of the adaptive step size
  • atol - Absolute tolerance used in the computation of the adaptive step size
  • safety_factor - Safety factor used in the computation of the adaptive step size
  • beta - Value of the beta coefficient of the PI controller. Default is 0.04
  • fac_min - Minimum factor between two successive steps. Default is 0.2
  • fac_max - Maximum factor between two successive steps. Default is 10.0
  • h_max - Maximum step size. Default is x_end-x
  • h - Initial value of the step size. If h = 0.0, the intial value of h is computed automatically
  • n_max - Maximum number of iterations. Default is 100000
  • n_stiff - Stifness is tested when the number of iterations is a multiple of n_stiff. Default is 1000
  • out_type - Type of the output. Must be a variant of the OutputType enum. Default is Dense

Core integration method.

Getter for the independent variable’s output.

Getter for the dependent variables’ output.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.