Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::math::PositionBlockT< T > Struct Template Reference

Represents a Structure of Arrays (SoA) block of atom positions for SIMD processing. More...

#include <SIMDTypes.hpp>

Inheritance diagram for correlation::math::PositionBlockT< T >:

Public Attributes

T * x {nullptr}
 Array of x-coordinates.
T * y {nullptr}
 Array of y-coordinates.
T * z {nullptr}
 Array of z-coordinates.
std::size_t count {0}
 Number of atoms in this block.

Detailed Description

template<typename T = real_t>
struct correlation::math::PositionBlockT< T >

Represents a Structure of Arrays (SoA) block of atom positions for SIMD processing.

Template Parameters
TFloating point coordinate type (float or double).

Member Data Documentation

◆ count

template<typename T = real_t>
std::size_t correlation::math::PositionBlockT< T >::count {0}

Number of atoms in this block.

◆ x

template<typename T = real_t>
T* correlation::math::PositionBlockT< T >::x {nullptr}

Array of x-coordinates.

◆ y

template<typename T = real_t>
T* correlation::math::PositionBlockT< T >::y {nullptr}

Array of y-coordinates.

◆ z

template<typename T = real_t>
T* correlation::math::PositionBlockT< T >::z {nullptr}

Array of z-coordinates.


The documentation for this struct was generated from the following file: