Struct nyx_space::propagators::PropOpts[][src]

pub struct PropOpts<E: ErrorCtrl> { /* fields omitted */ }

PropOpts stores the integrator options, including the minimum and maximum step sizes, and the max error size.

Note that different step sizes and max errors are only used for adaptive methods. To use a fixed step integrator, initialize the options using with_fixed_step, and use whichever adaptive step integrator is desired. For example, initializing an RK45 with fixed step options will lead to an RK4 being used instead of an RK45.

Implementations

impl<E: ErrorCtrl> PropOpts<E>[src]

pub fn with_adaptive_step(
    min_step: Duration,
    max_step: Duration,
    tolerance: f64,
    errctrl: E
) -> Self
[src]

with_adaptive_step initializes an PropOpts such that the integrator is used with an adaptive step size. The number of attempts is currently fixed to 50 (as in GMAT).

pub fn with_adaptive_step_s(
    min_step: f64,
    max_step: f64,
    tolerance: f64,
    errctrl: E
) -> Self
[src]

pub fn info(&self) -> String[src]

Returns a string with the information about these options

impl PropOpts<RSSStepPV>[src]

pub fn with_fixed_step(step: Duration) -> Self[src]

with_fixed_step initializes an PropOpts such that the integrator is used with a fixed step size.

pub fn with_fixed_step_s(step: f64) -> Self[src]

pub fn with_tolerance(tolerance: f64) -> Self[src]

Returns the default options with a specific tolerance.

Trait Implementations

impl<E: Clone + ErrorCtrl> Clone for PropOpts<E>[src]

impl<E: Copy + ErrorCtrl> Copy for PropOpts<E>[src]

impl<E: Debug + ErrorCtrl> Debug for PropOpts<E>[src]

impl Default for PropOpts<RSSStepPV>[src]

fn default() -> PropOpts<RSSStepPV>[src]

default returns the same default options as GMAT.

Auto Trait Implementations

impl<E> RefUnwindSafe for PropOpts<E> where
    E: RefUnwindSafe

impl<E> Send for PropOpts<E> where
    E: Send

impl<E> Sync for PropOpts<E> where
    E: Sync

impl<E> Unpin for PropOpts<E> where
    E: Unpin

impl<E> UnwindSafe for PropOpts<E> where
    E: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,