| HILA
    | 
Running index for locating sites on the lattice. More...
#include <site_index.h>
| Public Member Functions | |
| CoordinateVector | coordinates () const | 
| Convert to lattice coordinates. | |
| SiteIndex (const CoordinateVector &cv) | |
| Construct from CoordinateVector. | |
Running index for locating sites on the lattice.
The index is computed as x + nx*(y + ny*(z + nz*t) (in 4d) Used sometimes instead of CoordinateVector, smaller storage. Can be directly accessed by .value
Definition at line 17 of file site_index.h.
| 
 | inline | 
Construct from CoordinateVector.
Assumes cv is a valid lattice coordinate, undefined otherwise
Definition at line 36 of file site_index.h.