pub trait ParticleContainerAccessor {
type FloatingPointType: RealType;
// Required methods
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>;
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>;
}
Required Associated Types§
Required Methods§
Sourcefn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the sources.
Sourcefn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the targets.