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:
parent
e009a37f6e
commit
84fe791519
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user