Enum HelmholtzBoundary
pub enum HelmholtzBoundary {
DirichletZero,
Periodic,
}Expand description
Boundary condition for the 3D Helmholtz grid.
Variants§
DirichletZero
Homogeneous Dirichlet ($\hat{p} = 0$ on outer grid nodes, pressure-release).
Periodic
Periodic wrap-around across all three axes.
Trait Implementations§
§impl Clone for HelmholtzBoundary
impl Clone for HelmholtzBoundary
§fn clone(&self) -> HelmholtzBoundary
fn clone(&self) -> HelmholtzBoundary
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 moreimpl Copy for HelmholtzBoundary
§impl Debug for HelmholtzBoundary
impl Debug for HelmholtzBoundary
impl Eq for HelmholtzBoundary
§impl PartialEq for HelmholtzBoundary
impl PartialEq for HelmholtzBoundary
impl StructuralPartialEq for HelmholtzBoundary
Auto Trait Implementations§
impl Freeze for HelmholtzBoundary
impl RefUnwindSafe for HelmholtzBoundary
impl Send for HelmholtzBoundary
impl Sync for HelmholtzBoundary
impl Unpin for HelmholtzBoundary
impl UnsafeUnpin for HelmholtzBoundary
impl UnwindSafe for HelmholtzBoundary
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.