pub struct HeatEquation2D;Expand description
2D Heat (diffusion) equation: u_t = alpha * (u_xx + u_yy).
Implementations§
Source§impl HeatEquation2D
impl HeatEquation2D
Sourcepub fn build<S: SparseScalar>(
grid: Grid2D<S>,
alpha: S,
bc: &BoundaryConditions2D<S>,
) -> MOLSystem2D<S>
pub fn build<S: SparseScalar>( grid: Grid2D<S>, alpha: S, bc: &BoundaryConditions2D<S>, ) -> MOLSystem2D<S>
Build a 2D heat equation MOL system.
Auto Trait Implementations§
impl Freeze for HeatEquation2D
impl RefUnwindSafe for HeatEquation2D
impl Send for HeatEquation2D
impl Sync for HeatEquation2D
impl Unpin for HeatEquation2D
impl UnsafeUnpin for HeatEquation2D
impl UnwindSafe for HeatEquation2D
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