46 ordRep(s.ordRep), startSite(s.startSite), endSite(s.endSite),
47 sub_index(s.sub_index), sitetable(s.sitetable), set(s.set)
60 int color()
const {
return sub_index;}
80 inline int start()
const {
return startSite;}
81 inline int end()
const {
return endSite;}
virtual int numSubsets() const =0
virtual int operator()(const multi1d< int > &coordinate) const =0
Set - collection of subsets controlling which sites are involved in an operation.
virtual ~Set()
Destructor for a set.
multi1d< int > lat_color
Index or color array of lattice.
Set & operator=(const Set &s)
The = operator.
void make(const SetFunc &fn)
Constructor from a function object.
int numSubsets() const
Return number of subsets.
multi1d< multi1d< int > > sitetables
Array of sitetable arrays.
multi1d< Subset > sub
A set is composed of an array of subsets.
const Subset & operator[](int subset_index) const
Index operator selects a subset from a set.
Set()
There can be an empty constructor.
const multi1d< int > & latticeColoring() const
The coloring of the lattice sites.
Set(const SetFunc &fn)
Constructor from a function object.
Subsets - controls how lattices are looped.
Subset()
There can be an empty constructor.
Subset & operator=(const Subset &s)
The = operator.
int color() const
Access the coloring for this subset.
Subset(const Subset &s)
Copy constructor.
const multi1d< int > & siteTable() const
void make(const Subset &s)
Simple constructor called to produce a Subset from inside a Set.
virtual ~Subset()
Destructor for a subset.
bool hasOrderedRep() const
const Set & getSet() const
The super-set of this subset.
Container for a multi-dimensional 1D array.
Set rb
Default 2-checkerboard (red/black) set.
Set mcb
Default 2^{Nd+1}-checkerboard set. Useful for pure gauge updating.
Set rb3
Default rb3 subset – Always unordered.
Subset all
Default all subset.
Yet another random number generator.