Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::calculators::detail Namespace Reference

Classes

struct  SearchGridConfig
struct  SoACoordinates
struct  BinSortedPositions
struct  CandidateGatherer
struct  ShiftBounds

Enumerations

enum class  CandidateGatherMode : uint8_t { PARTITIONED , PrimaryCellOnly , PeriodicImageShift }

Functions

constexpr bool shouldSkipCandidate (CandidateGatherMode mode, size_t atom_idx, size_t j_idx, const correlation::math::Vector3< real_t > &disp, bool ignore_periodic_self_interactions) noexcept
constexpr void computePeriodicShiftAndBin (int coord, int delta, int dim_k, int &shift, int &wrap) noexcept
std::vector< correlation::math::Vector3< real_t > > computeSmallCellShifts (const correlation::math::Matrix3< real_t > &lattice, const ShiftBounds &bounds)
SearchGridConfig buildSearchGridConfig (const correlation::core::Cell &cell, real_t cutoff_sq)
BinSortedPositions buildBinSortedPositions (const correlation::core::Cell &cell, const SearchGridConfig &grid_config)
template<typename Visitor>
void forEachPairWithin (const correlation::core::Cell &cell, real_t r_max, bool ignore_periodic_self_interactions, Visitor &&visitor)

Enumeration Type Documentation

◆ CandidateGatherMode

Enumerator
PARTITIONED 
PrimaryCellOnly 
PeriodicImageShift 

Function Documentation

◆ buildBinSortedPositions()

BinSortedPositions correlation::calculators::detail::buildBinSortedPositions ( const correlation::core::Cell & cell,
const SearchGridConfig & grid_config )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildSearchGridConfig()

SearchGridConfig correlation::calculators::detail::buildSearchGridConfig ( const correlation::core::Cell & cell,
real_t cutoff_sq )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ computePeriodicShiftAndBin()

void correlation::calculators::detail::computePeriodicShiftAndBin ( int coord,
int delta,
int dim_k,
int & shift,
int & wrap )
constexprnoexcept
Here is the caller graph for this function:

◆ computeSmallCellShifts()

std::vector< correlation::math::Vector3< real_t > > correlation::calculators::detail::computeSmallCellShifts ( const correlation::math::Matrix3< real_t > & lattice,
const ShiftBounds & bounds )
inline
Here is the caller graph for this function:

◆ forEachPairWithin()

template<typename Visitor>
void correlation::calculators::detail::forEachPairWithin ( const correlation::core::Cell & cell,
real_t r_max,
bool ignore_periodic_self_interactions,
Visitor && visitor )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shouldSkipCandidate()

bool correlation::calculators::detail::shouldSkipCandidate ( CandidateGatherMode mode,
size_t atom_idx,
size_t j_idx,
const correlation::math::Vector3< real_t > & disp,
bool ignore_periodic_self_interactions )
nodiscardconstexprnoexcept
Here is the caller graph for this function: