pub struct BruteForceSoftenedSIMD<const L: usize, S> {
pub softening: S,
}Expand description
Brute-force ComputeMethod using the CPU and simd vectors.
Fields§
§softening: SSoftening parameter to avoid singularities.
Trait Implementations§
Source§impl<const L: usize, S: Clone> Clone for BruteForceSoftenedSIMD<L, S>
impl<const L: usize, S: Clone> Clone for BruteForceSoftenedSIMD<L, S>
Source§fn clone(&self) -> BruteForceSoftenedSIMD<L, S>
fn clone(&self) -> BruteForceSoftenedSIMD<L, S>
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 BruteForceSoftenedSIMD<L, S>
impl<const L: usize, V, S> ComputeMethod<ParticleSystem<'_, V, S, [PointMass<V, S>]>> for BruteForceSoftenedSIMD<L, S>
Source§impl<const L: usize, S: Default> Default for BruteForceSoftenedSIMD<L, S>
impl<const L: usize, S: Default> Default for BruteForceSoftenedSIMD<L, S>
Source§fn default() -> BruteForceSoftenedSIMD<L, S>
fn default() -> BruteForceSoftenedSIMD<L, S>
Returns the “default value” for a type. Read more
impl<const L: usize, S: Copy> Copy for BruteForceSoftenedSIMD<L, S>
Auto Trait Implementations§
impl<const L: usize, S> Freeze for BruteForceSoftenedSIMD<L, S>where
S: Freeze,
impl<const L: usize, S> RefUnwindSafe for BruteForceSoftenedSIMD<L, S>where
S: RefUnwindSafe,
impl<const L: usize, S> Send for BruteForceSoftenedSIMD<L, S>where
S: Send,
impl<const L: usize, S> Sync for BruteForceSoftenedSIMD<L, S>where
S: Sync,
impl<const L: usize, S> Unpin for BruteForceSoftenedSIMD<L, S>where
S: Unpin,
impl<const L: usize, S> UnwindSafe for BruteForceSoftenedSIMD<L, S>where
S: UnwindSafe,
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