#include <site.h>
Public Member Functions | |
| Site () | |
| Site (int site) | |
| Site (int x0, int x1, int x2, int x3) | |
| ~Site () | |
| int | Index () const |
| int | X () const |
| int | Y () const |
| int | Z () const |
| int | T () const |
| int | physX () const |
| int | physY () const |
| int | physZ () const |
| int | physT () const |
| int * | pos () |
| int | Coor (int d) const |
| int | physCoor (int d) const |
| int | Size (int d) const |
| int | Vol (int d) const |
| int | nodeBc (const int mu) const |
| int | plusIndex (int mu) const |
| int | minusIndex (int mu) const |
| void | Begin () |
| void | Begin (int mu) |
| bool | End () const |
| bool | End (int mu) const |
| bool | resetEnd (int mu) |
| void | nextSite () |
| void | nextSite (int mu) |
| void | nextSiteExcept (int mu) |
| bool | LoopsOverNode () |
It keeps track of the x,y,z, and t positions separately (as oppposed to just the index). If you really need high performance, and whatever you're doing at each site is very quick, then you can probably get much better performance by hard-coding the loop.
Definition at line 16 of file site.h.
|
|
Definition at line 25 of file site.C. References cps::GJP, cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). |
|
|
Definition at line 38 of file site.C. References cps::GJP, cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). |
|
||||||||||||||||||||
|
Definition at line 51 of file site.C. References cps::GJP, cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). |
|
|
|
|
|
|
|
|
|
Definition at line 96 of file site.h. Referenced by cps::Derivative::CalcEndPoints(). |
|
|
|
|
|
|
|
another way of looping over a node syntax: site x; while ( x.LoopsOverNode() ) { do stuff } the site index will be zeroed before the start of the loop and be zero after the loop finishes Definition at line 138 of file site.C. References Begin(). Referenced by cps::FermionVectorTp::LandauGaugeFixSink(), cps::AlgTcharge::run(), cps::AlgSmear2::run(), cps::AlgOlegSmear::run(), cps::AlgSmear::run(), and cps::FermionVectorTp::SetLandauGaugeMomentaSource(). |
|
|
Returns the index of the neighbor in the minus mu direction |
|
|
|
|
|
|
|
|
|
Definition at line 106 of file site.h. References cps::GJP, and cps::GlobalJobParameter::NodeBc(). |
|
|
Definition at line 97 of file site.h. Referenced by cps::ThreeMom::Fact(), and cps::Nuc3ptGammaR::InsertOp(). |
|
|
|
Definition at line 85 of file site.h. Referenced by cps::FermionVectorTp::SetLandauGaugeMomentaSource(). |
|
|
Definition at line 86 of file site.h. Referenced by cps::FermionVectorTp::SetLandauGaugeMomentaSource(). |
|
|
Definition at line 87 of file site.h. Referenced by cps::FermionVectorTp::SetLandauGaugeMomentaSource(). |
|
|
Returns the index of the neighbor in the plus mu direction |
|
|
ugly, but useful for interfacing with the link buffer routines Definition at line 94 of file site.h. Referenced by cps::AlgTcharge::run(), cps::AlgSmear2::run(), and cps::AlgSmear::run(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1