ParticleContainerAccessor

Trait ParticleContainerAccessor 

Source
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§

Source

fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>

Return a non-owning representation of the sources.

Source

fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>

Return a non-owning representation of the targets.

Implementors§