22 using base_type = size_t;
23 using argument_type = size_t;
52 res.
e(d) = v % lattice.size(d);
T e(const int i, const int j) const
Standard array indexing operation for matrices and vectors.
Running index for locating sites on the lattice.
SiteIndex(const CoordinateVector &cv)
Construct from CoordinateVector.
CoordinateVector coordinates() const
Convert to lattice coordinates.
This header file defines:
#define foralldir(d)
Macro to loop over (all) Direction(s)