[−][src]Struct nyx_space::propagators::PropOpts
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]
min_step: f64,
max_step: f64,
tolerance: f64,
errctrl: E
) -> PropOpts<E>
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]
impl<E: Clone + ErrorCtrl> Clone for PropOpts<E>
[src]
fn clone(&self) -> 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,
E: Send,
impl<E> Unpin for PropOpts<E> where
E: Unpin,
E: Unpin,
impl<E> Sync for PropOpts<E> where
E: Sync,
E: Sync,
impl<E> UnwindSafe for PropOpts<E> where
E: UnwindSafe,
E: UnwindSafe,
impl<E> RefUnwindSafe for PropOpts<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,