pub enum PhysicalSystem {
HeatEquation,
WaveEquation,
BurgersEquation,
NavierStokes,
Schrodinger,
Custom,
}Expand description
Types of physical systems
Variants§
HeatEquation
Heat equation: ∂u/∂t = α∇²u
WaveEquation
Wave equation: ∂²u/∂t² = c²∇²u
BurgersEquation
Burgers’ equation: ∂u/∂t + u∂u/∂x = ν∇²u
Navier-Stokes equations
Schrodinger
Schrödinger equation: iℏ∂ψ/∂t = Ĥψ
Custom
Custom PDE (user-defined)
Trait Implementations§
Source§impl Clone for PhysicalSystem
impl Clone for PhysicalSystem
Source§fn clone(&self) -> PhysicalSystem
fn clone(&self) -> PhysicalSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhysicalSystem
impl Debug for PhysicalSystem
Source§impl<'de> Deserialize<'de> for PhysicalSystem
impl<'de> Deserialize<'de> for PhysicalSystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PhysicalSystem
impl PartialEq for PhysicalSystem
Source§impl Serialize for PhysicalSystem
impl Serialize for PhysicalSystem
impl Copy for PhysicalSystem
impl StructuralPartialEq for PhysicalSystem
Auto Trait Implementations§
impl Freeze for PhysicalSystem
impl RefUnwindSafe for PhysicalSystem
impl Send for PhysicalSystem
impl Sync for PhysicalSystem
impl Unpin for PhysicalSystem
impl UnwindSafe for PhysicalSystem
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> 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