1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-19 16:27:05 +01:00

Fixes to fermion force terms after sign of gamma_mu (0...3) change.

Thought I had already committed these.

Believe I have got the Gparity fermion force working.

* tests/Test_gpdwf_force.cc     -- correctly predicts dS for two flavour pseudofermion
                                   based on a small dt update of U field.

* tests/Test_hmc_EODWFRatio_Gparity.cc -- ran 1 trajectory on 8^4 with dH=0.21.

Need to accumulate a full plaquette log to believe fully which will take some hours of run time.
This commit is contained in:
paboyle
2015-12-15 23:14:12 +00:00
parent af855cc129
commit 34a0fde2ad
16 changed files with 625 additions and 35 deletions

View File

@ -13,8 +13,6 @@ int main (int argc, char ** argv)
Grid_init(&argc,&argv);
std::vector<int> twists(Nd,0);
twists[nu] = 1;
const int Ls=4;
const int L =4;
@ -99,6 +97,9 @@ int main (int argc, char ** argv)
ConjugateGradient<LatticeFermion> CG(1.0e-8,10000);
CG(HermOpEO,src_o_1f,result_o_1f);
// const int nu = 3;
std::vector<int> twists(Nd,0);
twists[nu] = 1;
GparityDomainWallFermionR::ImplParams params;
params.twists = twists;
GparityDomainWallFermionR GPDdwf(Umu_2f,*FGrid_2f,*FrbGrid_2f,*UGrid_2f,*UrbGrid_2f,mass,M5,params);