Struct nyx_space::propagators::PropOpts [−][src]
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]
min_step: Duration,
max_step: Duration,
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 with_adaptive_step_s(
min_step: f64,
max_step: f64,
tolerance: f64,
errctrl: E
) -> Self
[src]
min_step: f64,
max_step: f64,
tolerance: f64,
errctrl: E
) -> Self
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]
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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,