1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-24 12:45:56 +01:00

put momentum filter into the HMC resources

This commit is contained in:
Peter Boyle 2021-05-11 13:49:49 -04:00
parent e009a37f6e
commit 84fe791519

View File

@ -176,6 +176,9 @@ private:
typedef IntegratorType<SmearingPolicy> TheIntegrator; typedef IntegratorType<SmearingPolicy> TheIntegrator;
TheIntegrator MDynamics(UGrid, Parameters.MD, TheAction, Smearing); TheIntegrator MDynamics(UGrid, Parameters.MD, TheAction, Smearing);
// Sets the momentum filter
MDynamics.setMomentumFilter(*(Resources.GetMomentumFilter()));
Smearing.set_Field(U); Smearing.set_Field(U);
HybridMonteCarlo<TheIntegrator> HMC(Parameters, MDynamics, HybridMonteCarlo<TheIntegrator> HMC(Parameters, MDynamics,