pub struct ReactionDiffusion3D;Expand description
3D Reaction-Diffusion: u_t = D*(u_xx + u_yy + u_zz) + R(t, x, y, z, u).
Implementations§
Source§impl ReactionDiffusion3D
impl ReactionDiffusion3D
Sourcepub fn build<S, R>(
grid: Grid3D<S>,
diffusion: S,
bc: &BoundaryConditions3D<S>,
reaction: R,
) -> MOLSystem3D<S>
pub fn build<S, R>( grid: Grid3D<S>, diffusion: S, bc: &BoundaryConditions3D<S>, reaction: R, ) -> MOLSystem3D<S>
Build a 3D reaction-diffusion MOL system.
Sourcepub fn fisher<S: SparseScalar>(
grid: Grid3D<S>,
diffusion: S,
growth_rate: S,
bc: &BoundaryConditions3D<S>,
) -> MOLSystem3D<S>
pub fn fisher<S: SparseScalar>( grid: Grid3D<S>, diffusion: S, growth_rate: S, bc: &BoundaryConditions3D<S>, ) -> MOLSystem3D<S>
Build a 3D Fisher-KPP equation: u_t = D*(u_xx + u_yy + u_zz) + ru(1-u).
Auto Trait Implementations§
impl Freeze for ReactionDiffusion3D
impl RefUnwindSafe for ReactionDiffusion3D
impl Send for ReactionDiffusion3D
impl Sync for ReactionDiffusion3D
impl Unpin for ReactionDiffusion3D
impl UnsafeUnpin for ReactionDiffusion3D
impl UnwindSafe for ReactionDiffusion3D
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