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

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.

Methods

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

pub fn with_fixed_step(step: f64, errctrl: E) -> PropOpts<E>[src]

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

pub fn with_adaptive_step(
    min_step: f64,
    max_step: f64,
    tolerance: f64,
    errctrl: E
) -> PropOpts<E>
[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).

Trait Implementations

impl Default for PropOpts<RSSStepPV>[src]

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

default returns the same default options as GMAT.

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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