mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 13:40:46 +01:00
First attempt at minimising smearing
This commit is contained in:
parent
4333d97958
commit
2e220456d3
@ -142,11 +142,15 @@ public:
|
|||||||
iQ2 = iQ * iQ;
|
iQ2 = iQ * iQ;
|
||||||
iQ3 = iQ * iQ2;
|
iQ3 = iQ * iQ2;
|
||||||
|
|
||||||
//We should check sgn(c0) here already and then apply eq (34) from 0311018
|
if(abs(real(trace(iQ2))) < 0.000000001) // Felix, please check this
|
||||||
set_uw(u, w, iQ2, iQ3);
|
e_iQ = unity;
|
||||||
set_fj(f0, f1, f2, u, w);
|
else {
|
||||||
|
//We should check sgn(c0) here already and then apply eq (34) from 0311018
|
||||||
e_iQ = f0 * unity + timesMinusI(f1) * iQ - f2 * iQ2;
|
set_uw(u, w, iQ2, iQ3);
|
||||||
|
set_fj(f0, f1, f2, u, w);
|
||||||
|
|
||||||
|
e_iQ = f0 * unity + timesMinusI(f1) * iQ - f2 * iQ2;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void set_uw(LatticeComplex& u, LatticeComplex& w, GaugeLinkField& iQ2,
|
void set_uw(LatticeComplex& u, LatticeComplex& w, GaugeLinkField& iQ2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user