1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 20:57:06 +01:00

Smearing routines compile (still untested)

This commit is contained in:
2016-02-25 02:43:59 +09:00
parent a7251f28c7
commit 2d8bb356e3
8 changed files with 249 additions and 92 deletions

View File

@ -61,7 +61,7 @@ template<class Gimpl> class WilsonLoops;
typedef Lattice<SiteGaugeField> GaugeField;
// Move this elsewhere?
void AddGaugeLink(GaugeField& U, GaugeLinkField& W, int mu){ // U[mu] += W
static inline void AddGaugeLink(GaugeField& U, GaugeLinkField& W, int mu){ // U[mu] += W
PARALLEL_FOR_LOOP
for(auto ss=0;ss<U._grid->oSites();ss++){
U._odata[ss]._internal[mu] = U._odata[ss]._internal[mu] + W._odata[ss]._internal;