pub struct Propagator<'a, D: Dynamics, E: ErrorCtrl>where
    DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<usize, <D::StateType as State>::Size, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::VecLength>,
{ pub dynamics: D, pub opts: PropOpts<E>, /* private fields */ }
Expand description

A Propagator allows propagating a set of dynamics forward or backward in time. It is an EventTracker, without any event tracking. It includes the options, the integrator details of the previous step, and the set of coefficients used for the monomorphic instance.

Fields

dynamics: Dopts: PropOpts<E>

Implementations

The Propagator trait defines the functions of a propagator and of an event tracker.

Each propagator must be initialized with new which stores propagator information.

Set the tolerance for the propagator

Set the maximum step size for the propagator and sets the initial step to that value if currently greater

An RK89 propagator (the default) with custom propagator options.

A Dormand Prince 7-8 propagator with custom propagator options: it’s about 20% faster than an RK98, and more stable in two body dynamics. WARNINGS: Dormand Prince may have issues with generating proper trajectories, leading to glitches in event finding.

Default propagator is an RK89 with the default PropOpts.

A default Dormand Prince 78 propagator with the default PropOpts. Faster and more stable than an RK89 (default) but seems to cause issues for event finding. WARNINGS: Dormand Prince may have issues with generating proper trajectories, leading to glitches in event finding.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.