pub struct PDEProblem {
pub spatial_dim: usize,
pub domain: Vec<(f64, f64)>,
pub boundaries: Vec<Boundary>,
pub has_time: bool,
pub time_domain: Option<(f64, f64)>,
}Expand description
Defines a PDE problem for PINN solving.
Fields§
§spatial_dim: usizeNumber of spatial dimensions (1, 2, or 3)
domain: Vec<(f64, f64)>Domain bounds per spatial dimension: [(x_min, x_max), (y_min, y_max), …]
boundaries: Vec<Boundary>Boundary specifications
has_time: boolWhether the problem includes a time variable
time_domain: Option<(f64, f64)>Time domain bounds (t_min, t_max), required when has_time is true
Trait Implementations§
Source§impl Clone for PDEProblem
impl Clone for PDEProblem
Source§fn clone(&self) -> PDEProblem
fn clone(&self) -> PDEProblem
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 moreAuto Trait Implementations§
impl Freeze for PDEProblem
impl RefUnwindSafe for PDEProblem
impl Send for PDEProblem
impl Sync for PDEProblem
impl Unpin for PDEProblem
impl UnsafeUnpin for PDEProblem
impl UnwindSafe for PDEProblem
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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