ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Functions | |
template<typename CellIterator , typename PairKernel > | |
void | link_cell (CellIterator first, CellIterator last, PairKernel &&pair_kernel) |
Iterates over all particles in the cell range, and over all pairs within the cells and with their neighbors. | |
template<FloatingPointOrRef T, IntegralOrRef I> | |
std::pair< T, I > | periodic_fold (T x, I i, T const l) |
Fold value into primary interval. | |
template<FloatingPointOrRef T> | |
T | periodic_fold (T x, T const l) |
Fold value into primary interval. | |
void Algorithm::link_cell | ( | CellIterator | first, |
CellIterator | last, | ||
PairKernel && | pair_kernel | ||
) |
Iterates over all particles in the cell range, and over all pairs within the cells and with their neighbors.
Definition at line 32 of file link_cell.hpp.
std::pair< T, I > Algorithm::periodic_fold | ( | T | x, |
I | i, | ||
T const | l | ||
) |
Fold value into primary interval.
x | Value to fold |
i | Image count before folding |
l | Length of primary interval |
Definition at line 45 of file periodic_fold.hpp.
Referenced by BoxGeometry::fold_position(), BoxGeometry::folded_image_box(), BoxGeometry::folded_position(), BoxGeometry::get_mi_vector(), and positions_in_halo_impl().
T Algorithm::periodic_fold | ( | T | x, |
T const | l | ||
) |
Fold value into primary interval.
x | Value to fold |
l | Length of primary interval |
Definition at line 68 of file periodic_fold.hpp.