[−][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_adaptive_step(
min_step: f64,
max_step: f64,
tolerance: f64,
errctrl: E
) -> Self
[src]
min_step: f64,
max_step: f64,
tolerance: f64,
errctrl: E
) -> Self
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 info(&self) -> String
[src]
Returns a string with the information about these options
impl PropOpts<RSSStepPV>
[src]
pub fn with_fixed_step(step: f64) -> PropOpts<RSSStepPV>
[src]
with_fixed_step
initializes an PropOpts
such that the integrator is used with a fixed
step size.
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]
Auto Trait Implementations
impl<E> RefUnwindSafe for PropOpts<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for PropOpts<E> where
E: Send,
E: Send,
impl<E> Sync for PropOpts<E> where
E: Sync,
E: Sync,
impl<E> Unpin for PropOpts<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for PropOpts<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,