pub struct BoundaryConditions<const N: usize> {
pub lower: [BoundaryCondition; N],
pub upper: [BoundaryCondition; N],
}Expand description
Per-dimension lower and upper boundary conditions.
Fields§
§lower: [BoundaryCondition; N]Condition at the lower (x_i = min_i) boundary of each dimension.
upper: [BoundaryCondition; N]Condition at the upper (x_i = max_i) boundary of each dimension.
Implementations§
Source§impl<const N: usize> BoundaryConditions<N>
impl<const N: usize> BoundaryConditions<N>
Sourcepub fn new(lower: [BoundaryCondition; N], upper: [BoundaryCondition; N]) -> Self
pub fn new(lower: [BoundaryCondition; N], upper: [BoundaryCondition; N]) -> Self
Builds explicit lower and upper boundary condition arrays.
Trait Implementations§
Source§impl<const N: usize> Clone for BoundaryConditions<N>
impl<const N: usize> Clone for BoundaryConditions<N>
Source§fn clone(&self) -> BoundaryConditions<N>
fn clone(&self) -> BoundaryConditions<N>
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 moreSource§impl<const N: usize> Debug for BoundaryConditions<N>
impl<const N: usize> Debug for BoundaryConditions<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for BoundaryConditions<N>
impl<const N: usize> RefUnwindSafe for BoundaryConditions<N>
impl<const N: usize> Send for BoundaryConditions<N>
impl<const N: usize> Sync for BoundaryConditions<N>
impl<const N: usize> Unpin for BoundaryConditions<N>
impl<const N: usize> UnsafeUnpin for BoundaryConditions<N>
impl<const N: usize> UnwindSafe for BoundaryConditions<N>
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
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