Struct green_kernels::helmholtz_3d::Helmholtz3dKernel
source · pub struct Helmholtz3dKernel<T: RlstScalar> {
pub wavenumber: T::Real,
/* private fields */
}
Expand description
Kernel for Helmholtz in 3D
Fields§
§wavenumber: T::Real
Wavenumber
Implementations§
source§impl<T: RlstScalar> Helmholtz3dKernel<T>
impl<T: RlstScalar> Helmholtz3dKernel<T>
Trait Implementations§
source§impl<T: Clone + RlstScalar> Clone for Helmholtz3dKernel<T>where
T::Real: Clone,
impl<T: Clone + RlstScalar> Clone for Helmholtz3dKernel<T>where
T::Real: Clone,
source§fn clone(&self) -> Helmholtz3dKernel<T>
fn clone(&self) -> Helmholtz3dKernel<T>
Returns a copy 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<T: Default + RlstScalar> Default for Helmholtz3dKernel<T>where
T::Real: Default,
impl<T: Default + RlstScalar> Default for Helmholtz3dKernel<T>where
T::Real: Default,
source§fn default() -> Helmholtz3dKernel<T>
fn default() -> Helmholtz3dKernel<T>
Returns the “default value” for a type. Read more
source§impl<T: RlstScalar<Complex = T> + Send + Sync> Kernel for Helmholtz3dKernel<T>
impl<T: RlstScalar<Complex = T> + Send + Sync> Kernel for Helmholtz3dKernel<T>
source§fn domain_component_count(&self) -> usize
fn domain_component_count(&self) -> usize
Return the domain component count of the Green’s fct. Read more
source§fn space_dimension(&self) -> usize
fn space_dimension(&self) -> usize
Return the space dimension.
source§fn evaluate_st(
&self,
eval_type: GreenKernelEvalType,
sources: &[<Self::T as RlstScalar>::Real],
targets: &[<Self::T as RlstScalar>::Real],
charges: &[Self::T],
result: &mut [Self::T],
)
fn evaluate_st( &self, eval_type: GreenKernelEvalType, sources: &[<Self::T as RlstScalar>::Real], targets: &[<Self::T as RlstScalar>::Real], charges: &[Self::T], result: &mut [Self::T], )
Single threaded evaluation of Green’s functions. Read more
source§fn evaluate_mt(
&self,
eval_type: GreenKernelEvalType,
sources: &[<Self::T as RlstScalar>::Real],
targets: &[<Self::T as RlstScalar>::Real],
charges: &[Self::T],
result: &mut [Self::T],
)
fn evaluate_mt( &self, eval_type: GreenKernelEvalType, sources: &[<Self::T as RlstScalar>::Real], targets: &[<Self::T as RlstScalar>::Real], charges: &[Self::T], result: &mut [Self::T], )
Multi-threaded evaluation of a Green’s function kernel. Read more
source§fn greens_fct(
&self,
eval_type: GreenKernelEvalType,
source: &[<Self::T as RlstScalar>::Real],
target: &[<Self::T as RlstScalar>::Real],
result: &mut [Self::T],
)
fn greens_fct( &self, eval_type: GreenKernelEvalType, source: &[<Self::T as RlstScalar>::Real], target: &[<Self::T as RlstScalar>::Real], result: &mut [Self::T], )
Evaluate the Green’s fct. for a single source and single target.
source§fn assemble_st(
&self,
eval_type: GreenKernelEvalType,
sources: &[<Self::T as RlstScalar>::Real],
targets: &[<Self::T as RlstScalar>::Real],
result: &mut [Self::T],
)
fn assemble_st( &self, eval_type: GreenKernelEvalType, sources: &[<Self::T as RlstScalar>::Real], targets: &[<Self::T as RlstScalar>::Real], result: &mut [Self::T], )
Single threaded assembly of a kernel matrix. Read more
source§fn assemble_mt(
&self,
eval_type: GreenKernelEvalType,
sources: &[<Self::T as RlstScalar>::Real],
targets: &[<Self::T as RlstScalar>::Real],
result: &mut [Self::T],
)
fn assemble_mt( &self, eval_type: GreenKernelEvalType, sources: &[<Self::T as RlstScalar>::Real], targets: &[<Self::T as RlstScalar>::Real], result: &mut [Self::T], )
Multi-threaded version of kernel matrix assembly.
source§fn assemble_pairwise_st(
&self,
eval_type: GreenKernelEvalType,
sources: &[<Self::T as RlstScalar>::Real],
targets: &[<Self::T as RlstScalar>::Real],
result: &mut [Self::T],
)
fn assemble_pairwise_st( &self, eval_type: GreenKernelEvalType, sources: &[<Self::T as RlstScalar>::Real], targets: &[<Self::T as RlstScalar>::Real], result: &mut [Self::T], )
Single threaded assembly of the diagonal of a kernel matrix
source§fn range_component_count(&self, eval_type: GreenKernelEvalType) -> usize
fn range_component_count(&self, eval_type: GreenKernelEvalType) -> usize
Return the range component count of the Green’s fct. Read more
Auto Trait Implementations§
impl<T> Freeze for Helmholtz3dKernel<T>where
<T as RlstScalar>::Real: Freeze,
impl<T> RefUnwindSafe for Helmholtz3dKernel<T>where
<T as RlstScalar>::Real: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Helmholtz3dKernel<T>
impl<T> Sync for Helmholtz3dKernel<T>
impl<T> Unpin for Helmholtz3dKernel<T>
impl<T> UnwindSafe for Helmholtz3dKernel<T>where
<T as RlstScalar>::Real: UnwindSafe,
T: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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