Struct rusty_green_kernel::evaluators::base::DirectEvaluator [−][src]
pub struct DirectEvaluator<P: ParticleContainerAccessor, R> { /* fields omitted */ }
Expand description
This type defines an Evaluator consisting of a
ParticleSpace and a KernelType. The generic
Trait Implementations
impl<P: ParticleContainerAccessor> ComplexDirectEvaluator for DirectEvaluator<P, Complex<P::FloatingPointType>>
impl<P: ParticleContainerAccessor> ComplexDirectEvaluator for DirectEvaluator<P, Complex<P::FloatingPointType>>fn assemble_in_place(
&self,
result: ArrayViewMut2<'_, Complex<Self::FloatingPointType>>,
threading_type: ThreadingType
)
fn assemble_in_place(
&self,
result: ArrayViewMut2<'_, Complex<Self::FloatingPointType>>,
threading_type: ThreadingType
)Assemble the kernel matrix in-place. Read more
fn evaluate_in_place(
&self,
charges: ArrayView2<'_, Complex<Self::FloatingPointType>>,
result: ArrayViewMut3<'_, Complex<Self::FloatingPointType>>,
eval_mode: &EvalMode,
threading_type: ThreadingType
)
fn evaluate_in_place(
&self,
charges: ArrayView2<'_, Complex<Self::FloatingPointType>>,
result: ArrayViewMut3<'_, Complex<Self::FloatingPointType>>,
eval_mode: &EvalMode,
threading_type: ThreadingType
)Evaluate for each target the potential sum across all sources with given charges. Read more
Like assemble_in_place, but creates and returns a new result array.
fn evaluate(
&self,
charges: ArrayView2<'_, Complex<Self::FloatingPointType>>,
eval_mode: &EvalMode,
threading_type: ThreadingType
) -> Array3<Complex<Self::FloatingPointType>>
fn evaluate(
&self,
charges: ArrayView2<'_, Complex<Self::FloatingPointType>>,
eval_mode: &EvalMode,
threading_type: ThreadingType
) -> Array3<Complex<Self::FloatingPointType>>Like evaluate_in_place but creates and returns a new result array.
type FloatingPointType = P::FloatingPointTypeGet the kernel definition.
Return a non-owning representation of the sources.
Return a non-owning representation of the targets.
impl<P: ParticleContainerAccessor> RealDirectEvaluator for DirectEvaluator<P, P::FloatingPointType>
impl<P: ParticleContainerAccessor> RealDirectEvaluator for DirectEvaluator<P, P::FloatingPointType>fn assemble_in_place(
&self,
result: ArrayViewMut2<'_, Self::FloatingPointType>,
threading_type: ThreadingType
)
fn assemble_in_place(
&self,
result: ArrayViewMut2<'_, Self::FloatingPointType>,
threading_type: ThreadingType
)Assemble the kernel matrix in-place. Read more
Like assemble_in_place, but creates and returns a new result array.
fn evaluate_in_place(
&self,
charges: ArrayView2<'_, Self::FloatingPointType>,
result: ArrayViewMut3<'_, Self::FloatingPointType>,
eval_mode: &EvalMode,
threading_type: ThreadingType
)
fn evaluate_in_place(
&self,
charges: ArrayView2<'_, Self::FloatingPointType>,
result: ArrayViewMut3<'_, Self::FloatingPointType>,
eval_mode: &EvalMode,
threading_type: ThreadingType
)Evaluate for each target the potential sum across all sources with given charges. Read more
fn evaluate(
&self,
charges: ArrayView2<'_, Self::FloatingPointType>,
eval_mode: &EvalMode,
threading_type: ThreadingType
) -> Array3<Self::FloatingPointType>
fn evaluate(
&self,
charges: ArrayView2<'_, Self::FloatingPointType>,
eval_mode: &EvalMode,
threading_type: ThreadingType
) -> Array3<Self::FloatingPointType>Like evaluate_in_place but creates and returns a new result array.
Auto Trait Implementations
impl<P, R> RefUnwindSafe for DirectEvaluator<P, R> where
P: RefUnwindSafe,
R: RefUnwindSafe, impl<P, R> Send for DirectEvaluator<P, R> where
P: Send,
R: Send, impl<P, R> Sync for DirectEvaluator<P, R> where
P: Sync,
R: Sync, impl<P, R> Unpin for DirectEvaluator<P, R> where
P: Unpin,
R: Unpin, impl<P, R> UnwindSafe for DirectEvaluator<P, R> where
P: UnwindSafe,
R: UnwindSafe,