Struct green_kernels::laplace_3d::Laplace3dKernel
source · pub struct Laplace3dKernel<T: RlstScalar> { /* private fields */ }
Expand description
Kernel for Laplace in 3D
Implementations§
source§impl<T: RlstScalar> Laplace3dKernel<T>
impl<T: RlstScalar> Laplace3dKernel<T>
Trait Implementations§
source§impl<T: Clone + RlstScalar> Clone for Laplace3dKernel<T>
impl<T: Clone + RlstScalar> Clone for Laplace3dKernel<T>
source§fn clone(&self) -> Laplace3dKernel<T>
fn clone(&self) -> Laplace3dKernel<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 Laplace3dKernel<T>
impl<T: Default + RlstScalar> Default for Laplace3dKernel<T>
source§fn default() -> Laplace3dKernel<T>
fn default() -> Laplace3dKernel<T>
Returns the “default value” for a type. Read more
source§impl<T: RlstScalar + Send + Sync> Kernel for Laplace3dKernel<T>
impl<T: RlstScalar + Send + Sync> Kernel for Laplace3dKernel<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 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
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.
Auto Trait Implementations§
impl<T> Freeze for Laplace3dKernel<T>
impl<T> RefUnwindSafe for Laplace3dKernel<T>where
T: RefUnwindSafe,
impl<T> Send for Laplace3dKernel<T>
impl<T> Sync for Laplace3dKernel<T>
impl<T> Unpin for Laplace3dKernel<T>where
T: Unpin,
impl<T> UnwindSafe for Laplace3dKernel<T>where
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