Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SIMDDistance.hpp File Reference

SIMD-accelerated distance and position block calculation routines. More...

Include dependency graph for SIMDDistance.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  correlation
namespace  correlation::math
 Defines universal mathematical and physical constants.

Functions

template<typename T>
void correlation::math::computeDsqBlock (T ref_x, T ref_y, T ref_z, const PositionBlockT< T > &block, T *out_dsq) noexcept
 Computes squared distances from a reference point to a SoA block of positions.
template<typename AtomRange, typename T = real_t>
std::size_t correlation::math::fillPositionBlock (const FillPositionBlockParams< AtomRange, T > &params) noexcept
 Populates vectors with standard atom block positions for SIMD.

Detailed Description

SIMD-accelerated distance and position block calculation routines.

License
SPDX-License-Identifier: AGPL-3.0-only