pub struct BruteForceSIMD<const L: usize>;Expand description
Brute-force ComputeMethod using the CPU in parallel with
rayon and simd vectors.
Trait Implementations§
Source§impl<const L: usize> Clone for BruteForceSIMD<L>
impl<const L: usize> Clone for BruteForceSIMD<L>
Source§fn clone(&self) -> BruteForceSIMD<L>
fn clone(&self) -> BruteForceSIMD<L>
Returns a duplicate 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<const L: usize, V, S> ComputeMethod<ParticleSystem<'_, V, S, [PointMass<V, S>]>> for BruteForceSIMD<L>
impl<const L: usize, V, S> ComputeMethod<ParticleSystem<'_, V, S, [PointMass<V, S>]>> for BruteForceSIMD<L>
Source§impl<const L: usize> Default for BruteForceSIMD<L>
impl<const L: usize> Default for BruteForceSIMD<L>
Source§fn default() -> BruteForceSIMD<L>
fn default() -> BruteForceSIMD<L>
Returns the “default value” for a type. Read more
impl<const L: usize> Copy for BruteForceSIMD<L>
Auto Trait Implementations§
impl<const L: usize> Freeze for BruteForceSIMD<L>
impl<const L: usize> RefUnwindSafe for BruteForceSIMD<L>
impl<const L: usize> Send for BruteForceSIMD<L>
impl<const L: usize> Sync for BruteForceSIMD<L>
impl<const L: usize> Unpin for BruteForceSIMD<L>
impl<const L: usize> UnwindSafe for BruteForceSIMD<L>
Blanket Implementations§
Source§impl<U> AsPrimitive for U
impl<U> AsPrimitive for U
Source§fn as_<F: FromPrimitive<Self>>(self) -> F
fn as_<F: FromPrimitive<Self>>(self) -> F
Converts this primitive into the input primitive.
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§impl<V, S, C, O> ComputeMethod<&[PointMass<V, S>]> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
impl<V, S, C, O> ComputeMethod<&[PointMass<V, S>]> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
Source§impl<V, S, C, O> ComputeMethod<&ParticleOrdered<V, S>> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
impl<V, S, C, O> ComputeMethod<&ParticleOrdered<V, S>> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
Source§fn compute(
&mut self,
ordered: &ParticleOrdered<V, S>,
) -> <C as ComputeMethod<&ParticleOrdered<V, S>>>::Output
fn compute( &mut self, ordered: &ParticleOrdered<V, S>, ) -> <C as ComputeMethod<&ParticleOrdered<V, S>>>::Output
Performs the computation between objects contained in the storage.
Source§impl<V, S, C, O> ComputeMethod<&ParticleReordered<'_, V, S>> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
impl<V, S, C, O> ComputeMethod<&ParticleReordered<'_, V, S>> for Cwhere
O: IntoIterator,
C: for<'a> ComputeMethod<ParticleSystem<'a, V, S, [PointMass<V, S>]>, Output = O>,
Source§fn compute(
&mut self,
reordered: &ParticleReordered<'_, V, S>,
) -> <C as ComputeMethod<&ParticleReordered<'_, V, S>>>::Output
fn compute( &mut self, reordered: &ParticleReordered<'_, V, S>, ) -> <C as ComputeMethod<&ParticleReordered<'_, V, S>>>::Output
Performs the computation between objects contained in the storage.
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