pub enum KernelType {
Laplace,
Helmholtz(Complex<f64>),
ModifiedHelmholtz(f64),
}
Expand description
This enum defines the type of the kernel.
Variants§
Laplace
The Laplace kernel defined as g(x, y) = 1 / (4 pi | x- y| )
Helmholtz(Complex<f64>)
The Helmholtz kernel defined as g(x, y) = exp( 1j * k * | x- y| ) / (4 pi | x- y| )
ModifiedHelmholtz(f64)
The modified Helmholtz kernel defined as g(x, y) = exp( -omega * | x- y| ) / (4 * pi * | x- y |)
Auto Trait Implementations§
impl Freeze for KernelType
impl RefUnwindSafe for KernelType
impl Send for KernelType
impl Sync for KernelType
impl Unpin for KernelType
impl UnwindSafe for KernelType
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