pub struct SeparableSystem<F: IntegrateFloat> { /* private fields */ }Expand description
A separable Hamiltonian H(q, p) = T(p) + V(q).
For separable systems the equations of motion are: dq/dt = dT/dp dp/dt = -dV/dq
Implementations§
Source§impl<F: IntegrateFloat> SeparableSystem<F>
impl<F: IntegrateFloat> SeparableSystem<F>
Trait Implementations§
Source§impl<F: IntegrateFloat> HamiltonianSystem<F> for SeparableSystem<F>
impl<F: IntegrateFloat> HamiltonianSystem<F> for SeparableSystem<F>
Auto Trait Implementations§
impl<F> Freeze for SeparableSystem<F>
impl<F> !RefUnwindSafe for SeparableSystem<F>
impl<F> Send for SeparableSystem<F>
impl<F> Sync for SeparableSystem<F>
impl<F> Unpin for SeparableSystem<F>
impl<F> UnsafeUnpin for SeparableSystem<F>
impl<F> !UnwindSafe for SeparableSystem<F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more