Trait rusty_green_kernel::evaluators::base::DirectEvaluatorAccessor [−][src]
pub trait DirectEvaluatorAccessor { type FloatingPointType: RealType; fn kernel_type(&self) -> &KernelType; fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>; fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>; fn nsources(&self) -> usize; fn ntargets(&self) -> usize; }
Basic access to the data that defines a Greens function kernel, its sources and targets.
Associated Types
Loading content...Required methods
fn kernel_type(&self) -> &KernelType
[src]
Get the kernel definition.
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
[src]
Return a non-owning representation of the sources.
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
[src]
Return a non-owning representation of the targets.
fn nsources(&self) -> usize
[src]
fn ntargets(&self) -> usize
[src]
Implementors
impl<P: ParticleContainerAccessor, R> DirectEvaluatorAccessor for DirectEvaluator<P, R>
[src]
impl<P: ParticleContainerAccessor, R> DirectEvaluatorAccessor for DirectEvaluator<P, R>
[src]