pub struct PropInstance<'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 state: D::StateType, pub prop: &'a Propagator<'a, D, E>, pub details: IntegrationDetails, /* 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

state: D::StateType

The state of this propagator instance

prop: &'a Propagator<'a, D, E>

The propagator setup (kind, stages, etc.)

details: IntegrationDetails

Stores the details of the previous integration step

Implementations

Allows setting the step size of the propagator

This method propagates the provided Dynamics for the provided duration.

This method propagates the provided Dynamics for the provided duration and publishes each state on the channel.

Propagates the provided Dynamics until the provided epoch. Returns the end state.

Propagates the provided Dynamics until the provided epoch and publishes states on the provided channel. Returns the end state.

Propagates the provided Dynamics for the provided duration and generate the trajectory of these dynamics on its own thread. Returns the end state and the trajectory. Known bug #190: Cannot generate a valid trajectory when propagating backward

Propagates the provided Dynamics until the provided epoch and generate the trajectory of these dynamics on its own thread. Returns the end state and the trajectory. Known bug #190: Cannot generate a valid trajectory when propagating backward

Propagate until a specific event is found once. Returns the state found and the trajectory until max_duration

Propagate until a specific event is found trigger times. Returns the state found and the trajectory until max_duration

Take a single propagator step and emit the result on the TX channel (if enabled)

Borrow the details of the latest integration step.

Trait Implementations

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 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.