mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-15 22:37:05 +01:00
put momentum filter into the HMC resources
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user