mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Reverting after fixing issue with extract merge
This commit is contained in:
parent
90a2efb9b3
commit
4e3458516a
@ -102,13 +102,11 @@ public:
|
|||||||
Lattice<iScalar<vInteger>> coor(grid);
|
Lattice<iScalar<vInteger>> coor(grid);
|
||||||
LatticeCoordinate(coor, mu);
|
LatticeCoordinate(coor, mu);
|
||||||
|
|
||||||
GaugeLinkField tmp1(grid);
|
GaugeLinkField tmp(grid);
|
||||||
GaugeLinkField tmp2(grid);
|
tmp = adj(Link);
|
||||||
tmp1 = adj(Link);
|
tmp = where(coor == Lmu, conjugate(tmp), tmp);
|
||||||
tmp2 = where(coor == Lmu, conjugate(tmp1), tmp1);
|
return Cshift(tmp, mu, -1); // moves towards positive mu
|
||||||
return Cshift(tmp2, mu, -1); // moves towards positive mu
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline GaugeLinkField
|
static inline GaugeLinkField
|
||||||
CovShiftIdentityForward(const GaugeLinkField &Link, int mu) {
|
CovShiftIdentityForward(const GaugeLinkField &Link, int mu) {
|
||||||
return Link;
|
return Link;
|
||||||
@ -121,11 +119,10 @@ public:
|
|||||||
Lattice<iScalar<vInteger>> coor(grid);
|
Lattice<iScalar<vInteger>> coor(grid);
|
||||||
LatticeCoordinate(coor, mu);
|
LatticeCoordinate(coor, mu);
|
||||||
|
|
||||||
GaugeLinkField tmp1(grid);
|
GaugeLinkField tmp(grid);
|
||||||
GaugeLinkField tmp2(grid);
|
tmp = Cshift(Link, mu, 1);
|
||||||
tmp1 = Cshift(Link, mu, 1);
|
tmp = where(coor == Lmu, conjugate(tmp), tmp);
|
||||||
tmp2 = where(coor == Lmu, conjugate(tmp1), tmp1);
|
return tmp;
|
||||||
return tmp2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool isPeriodicGaugeField(void) { return false; }
|
static inline bool isPeriodicGaugeField(void) { return false; }
|
||||||
|
Loading…
Reference in New Issue
Block a user