pub enum DimensionKind {
DiscreteJump,
Jump,
Diffusion,
DeterministicDrift,
}Expand description
Declarative discretization kind for one state coordinate.
The finite-difference solvers use this to select the stencil without inspecting which derivative components a model happens to populate.
Variants§
DiscreteJump
Integer state with unit jumps under a point-process intensity. The forward and backward transition rates are used directly, not divided by a spacing.
Jump
Integer state with arbitrary-amplitude jumps under a point-process
intensity. The jump amplitudes and rates are supplied by the
JumpKernel associated with the dimension.
Diffusion
Continuous state driven by Brownian diffusion. Uses central second differences plus upwind first differences.
DeterministicDrift
Continuous state with deterministic drift and no diffusion. Uses upwind first differences only.
Trait Implementations§
Source§impl Clone for DimensionKind
impl Clone for DimensionKind
Source§fn clone(&self) -> DimensionKind
fn clone(&self) -> DimensionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DimensionKind
Source§impl Debug for DimensionKind
impl Debug for DimensionKind
impl Eq for DimensionKind
Source§impl PartialEq for DimensionKind
impl PartialEq for DimensionKind
impl StructuralPartialEq for DimensionKind
Auto Trait Implementations§
impl Freeze for DimensionKind
impl RefUnwindSafe for DimensionKind
impl Send for DimensionKind
impl Sync for DimensionKind
impl Unpin for DimensionKind
impl UnsafeUnpin for DimensionKind
impl UnwindSafe for DimensionKind
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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