mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Merge branch 'develop' of https://github.com/paboyle/Grid into develop
This commit is contained in:
commit
671bcbcccb
@ -66,6 +66,7 @@ namespace QCD{
|
|||||||
FermionField Phi; // the pseudofermion field for this trajectory
|
FermionField Phi; // the pseudofermion field for this trajectory
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ExactOneFlavourRatioPseudoFermionAction(AbstractEOFAFermion<Impl>& _Lop,
|
ExactOneFlavourRatioPseudoFermionAction(AbstractEOFAFermion<Impl>& _Lop,
|
||||||
AbstractEOFAFermion<Impl>& _Rop,
|
AbstractEOFAFermion<Impl>& _Rop,
|
||||||
OperatorFunction<FermionField>& HeatbathCG,
|
OperatorFunction<FermionField>& HeatbathCG,
|
||||||
|
@ -30,7 +30,9 @@ directory
|
|||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid/Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
|
#ifdef GRID_DEFAULT_PRECISION_DOUBLE
|
||||||
#define MIXED_PRECISION
|
#define MIXED_PRECISION
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Grid{
|
namespace Grid{
|
||||||
namespace QCD{
|
namespace QCD{
|
||||||
@ -346,6 +348,7 @@ int main(int argc, char **argv) {
|
|||||||
#else
|
#else
|
||||||
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy>
|
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy>
|
||||||
EOFA(Strange_Op_L, Strange_Op_R,
|
EOFA(Strange_Op_L, Strange_Op_R,
|
||||||
|
ActionCG,
|
||||||
ActionCG, ActionCG,
|
ActionCG, ActionCG,
|
||||||
DerivativeCG, DerivativeCG,
|
DerivativeCG, DerivativeCG,
|
||||||
OFRp, true);
|
OFRp, true);
|
||||||
|
@ -84,7 +84,7 @@ int main (int argc, char** argv)
|
|||||||
DomainWallEOFAFermionR Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5);
|
DomainWallEOFAFermionR Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5);
|
||||||
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
||||||
ConjugateGradient<LatticeFermion> CG(1.0e-12, 5000);
|
ConjugateGradient<LatticeFermion> CG(1.0e-12, 5000);
|
||||||
ExactOneFlavourRatioPseudoFermionAction<WilsonImplR> Meofa(Lop, Rop, CG, Params, true);
|
ExactOneFlavourRatioPseudoFermionAction<WilsonImplR> Meofa(Lop, Rop, CG, CG, CG, CG, CG, Params, true);
|
||||||
|
|
||||||
Meofa.refresh(U, RNG5);
|
Meofa.refresh(U, RNG5);
|
||||||
RealD S = Meofa.S(U); // pdag M p
|
RealD S = Meofa.S(U); // pdag M p
|
||||||
|
@ -89,7 +89,7 @@ int main (int argc, char** argv)
|
|||||||
FermionAction Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, params);
|
FermionAction Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, params);
|
||||||
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
||||||
ConjugateGradient<FermionField> CG(1.0e-12, 5000);
|
ConjugateGradient<FermionField> CG(1.0e-12, 5000);
|
||||||
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy> Meofa(Lop, Rop, CG, Params, true);
|
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy> Meofa(Lop, Rop, CG, CG, CG, CG, CG, Params, true);
|
||||||
|
|
||||||
Meofa.refresh(U, RNG5);
|
Meofa.refresh(U, RNG5);
|
||||||
RealD S = Meofa.S(U); // pdag M p
|
RealD S = Meofa.S(U); // pdag M p
|
||||||
|
@ -86,7 +86,7 @@ int main (int argc, char** argv)
|
|||||||
MobiusEOFAFermionR Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, b, c);
|
MobiusEOFAFermionR Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, b, c);
|
||||||
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
||||||
ConjugateGradient<LatticeFermion> CG(1.0e-12, 5000);
|
ConjugateGradient<LatticeFermion> CG(1.0e-12, 5000);
|
||||||
ExactOneFlavourRatioPseudoFermionAction<WilsonImplR> Meofa(Lop, Rop, CG, Params, false);
|
ExactOneFlavourRatioPseudoFermionAction<WilsonImplR> Meofa(Lop, Rop, CG, CG, CG, CG, CG, Params, false);
|
||||||
|
|
||||||
Meofa.refresh(U, RNG5);
|
Meofa.refresh(U, RNG5);
|
||||||
RealD S = Meofa.S(U); // pdag M p
|
RealD S = Meofa.S(U); // pdag M p
|
||||||
|
@ -91,7 +91,7 @@ int main (int argc, char** argv)
|
|||||||
FermionAction Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, b, c, params);
|
FermionAction Rop(U, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mb, mf, mb, -1.0, 1, M5, b, c, params);
|
||||||
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
OneFlavourRationalParams Params(0.95, 100.0, 5000, 1.0e-12, 12);
|
||||||
ConjugateGradient<FermionField> CG(1.0e-12, 5000);
|
ConjugateGradient<FermionField> CG(1.0e-12, 5000);
|
||||||
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy> Meofa(Lop, Rop, CG, Params, false);
|
ExactOneFlavourRatioPseudoFermionAction<FermionImplPolicy> Meofa(Lop, Rop, CG, CG, CG, CG, CG, Params, false);
|
||||||
|
|
||||||
Meofa.refresh(U, RNG5);
|
Meofa.refresh(U, RNG5);
|
||||||
RealD S = Meofa.S(U); // pdag M p
|
RealD S = Meofa.S(U); // pdag M p
|
||||||
|
Loading…
Reference in New Issue
Block a user