Struct nyx_space::propagators::Propagator [−][src]
A Propagator allows propagating a set of dynamics forward or backward in time. It is an EventTracker, without any event tracking. It includes the options, the integrator details of the previous step, and the set of coefficients used for the monomorphic instance.
Fields
dynamics: Arc<D>
opts: PropOpts<E>
Implementations
impl<'a, D: Dynamics, E: ErrorCtrl> Propagator<'a, D, E> where
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
[src]
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
The Propagator
trait defines the functions of a propagator and of an event tracker.
pub fn new<T: RK>(dynamics: Arc<D>, opts: PropOpts<E>) -> Self
[src]
Each propagator must be initialized with new
which stores propagator information.
pub fn set_tolerance(&mut self, tol: f64)
[src]
Set the tolerance for the propagator
pub fn set_max_step(&mut self, step: Duration)
[src]
Set the maximum step size for the propagator
pub fn rk89(dynamics: Arc<D>, opts: PropOpts<E>) -> Self
[src]
An RK89 propagator (the default) with custom propagator options.
pub fn with(&'a self, state: D::StateType) -> PropInstance<'a, D, E>
[src]
impl<'a, D: Dynamics> Propagator<'a, D, RSSStepPV> where
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
[src]
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
pub fn default(dynamics: Arc<D>) -> Self
[src]
Default propagator is an RK89 with the default PropOpts.
Trait Implementations
impl<'a, D: Clone + Dynamics, E: Clone + ErrorCtrl> Clone for Propagator<'a, D, E> where
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
[src]
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
fn clone(&self) -> Propagator<'a, D, E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, D: Debug + Dynamics, E: Debug + ErrorCtrl> Debug for Propagator<'a, D, E> where
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
[src]
DefaultAllocator: Allocator<f64, <D::StateType as State>::Size> + Allocator<f64, <D::StateType as State>::PropVecSize>,
Auto Trait Implementations
impl<'a, D, E> RefUnwindSafe for Propagator<'a, D, E> where
D: RefUnwindSafe,
E: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<'a, D, E> Send for Propagator<'a, D, E> where
D: Send + Sync,
E: Send,
D: Send + Sync,
E: Send,
impl<'a, D, E> Sync for Propagator<'a, D, E> where
D: Send + Sync,
E: Sync,
D: Send + Sync,
E: Sync,
impl<'a, D, E> Unpin for Propagator<'a, D, E> where
E: Unpin,
E: Unpin,
impl<'a, D, E> UnwindSafe for Propagator<'a, D, E> where
D: RefUnwindSafe,
E: UnwindSafe,
D: RefUnwindSafe,
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>,