Loading...
Searching...
No Matches
LinkCellsView.h File Reference
#include "Vector.h"
#include "Tensor.h"
#include "Tools.h"
#include <cmath>
#include <cstddef>
#include <limits>

Classes

struct  PLMD::LinkCellsNeighborFilter< Visitor >
 Calls visit(atom,d,d2) for each atom within the cutoff from the position pos, except the atom self (use std::numeric_limits<unsigned>::max() to visit all), in the order of the cells. More...
 
struct  PLMD::LinkCellsView
 The link cells built by LinkCells, as a plain struct that can be copied to a GPU: the geometry of the cells and pointers to the arrays of one LinkCells::CellCollection (which must have been built with its positions). More...
 

Namespaces

namespace  PLMD
 Fast (possibly busy-wait-based) barrier type.
 

Functions

template<typename Visitor>
void PLMD::forEachCandidate (const LinkCellsView &view, const Vector &pos, Visitor &visit)
 Calls visit(j,d) for each atom of the cells that can contain atoms within the cutoff from the position pos, in the order of the cells.
 
template<typename Visitor>
void PLMD::forEachNeighbor (const LinkCellsView &view, const Vector &pos, const unsigned self, Visitor &visit)