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

Common parameter containers, POD types, and scalar helpers for SIMD operations. More...

#include "math/Precision.hpp"
#include "math/SIMDConfig.hpp"
#include <cstddef>
#include <vector>
Include dependency graph for SIMDTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  correlation::math::PositionBlockT< T >
 Represents a Structure of Arrays (SoA) block of atom positions for SIMD processing. More...
struct  correlation::math::Point3T< T >
 Lightweight POD for passing 3D coordinates to scalar SIMD helpers. More...
struct  correlation::math::SincIntegralParams< T >
 Parameter container for sincIntegral kernel invocations. More...
struct  correlation::math::RDFNormalizationParams< T >
 Parameter container for normalizeRdfBins kernel invocations. More...
struct  correlation::math::ScaleBinsParams< T >
 Parameter container for scaleBins kernel invocations. More...
struct  correlation::math::MillerPhaseSumParams< T >
 Parameter container for millerPhaseSum kernel invocations. More...
struct  correlation::math::MillerExpSumParams< T >
 Parameter container for millerExpSum / complexExpSum kernel invocations. More...
struct  correlation::math::ComplexExpSumResult< T >
 Output result container holding cosine and sine phase sums. More...
struct  correlation::math::FillPositionBlockParams< AtomRange, T >
 Parameter container for fillPositionBlock kernel invocations. More...

Namespaces

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

Typedefs

using correlation::math::PositionBlock = PositionBlockT<real_t>
 Backward-compatible type alias for default real_t precision PositionBlock.
using correlation::math::Point3 = Point3T<real_t>
 Backward-compatible type alias for default real_t precision Point3.
template<typename T = real_t>
using correlation::math::ComplexExpSumParams = MillerExpSumParams<T>
 Alias for MillerExpSumParams used with complexExpSum kernel invocations.
template<typename T = real_t>
using correlation::math::PhaseSumResult = ComplexExpSumResult<T>
 Alias for PhaseSumResult used with phase sum kernel invocations.
template<typename T = real_t>
using correlation::math::MillerPhaseSumResult = ComplexExpSumResult<T>
 Alias for MillerPhaseSumResult used with millerPhaseSum kernel invocations.

Functions

template<typename T>
T correlation::math::distSqScalar (Point3T< T > point_a, Point3T< T > point_b) noexcept
 Computes the squared distance between two 3D points.
real_t correlation::math::distSqScalar (Point3 point_a, Point3 point_b) noexcept
 Non-templated overload of distSqScalar for backward compatibility.

Detailed Description

Common parameter containers, POD types, and scalar helpers for SIMD operations.

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