mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Explicit parameter declaration in the WilsonGauge test
This commit is contained in:
parent
7abc5613bd
commit
c0485d799d
@ -99,7 +99,6 @@ class TopologicalCharge : public HmcObservable<typename Impl::Field> {
|
|||||||
|
|
||||||
if (Pars.do_smearing){
|
if (Pars.do_smearing){
|
||||||
// using wilson flow by default here
|
// using wilson flow by default here
|
||||||
std::cout << "1. " << Pars.Smearing.step_size << std::endl;
|
|
||||||
WilsonFlow<PeriodicGimplR> WF(Pars.Smearing.steps, Pars.Smearing.step_size, Pars.Smearing.meas_interval);
|
WilsonFlow<PeriodicGimplR> WF(Pars.Smearing.steps, Pars.Smearing.step_size, Pars.Smearing.meas_interval);
|
||||||
WF.smear_adaptive(Usmear, U, Pars.Smearing.maxTau);
|
WF.smear_adaptive(Usmear, U, Pars.Smearing.maxTau);
|
||||||
Real T0 = WF.energyDensityPlaquette(Usmear);
|
Real T0 = WF.energyDensityPlaquette(Usmear);
|
||||||
|
@ -67,8 +67,12 @@ int main(int argc, char **argv) {
|
|||||||
typedef TopologicalChargeMod<HMCWrapper::ImplPolicy> QObs;
|
typedef TopologicalChargeMod<HMCWrapper::ImplPolicy> QObs;
|
||||||
TheHMC.Resources.AddObservable<PlaqObs>();
|
TheHMC.Resources.AddObservable<PlaqObs>();
|
||||||
TopologyObsParameters TopParams;
|
TopologyObsParameters TopParams;
|
||||||
TopParams.interval = 1;
|
TopParams.interval = 5;
|
||||||
TopParams.do_smearing = false;
|
TopParams.do_smearing = true;
|
||||||
|
TopParams.Smearing.steps = 200;
|
||||||
|
TopParams.Smearing.step_size = 0.01;
|
||||||
|
TopParams.Smearing.meas_interval = 50;
|
||||||
|
TopParams.Smearing.maxTau = 2.0;
|
||||||
TheHMC.Resources.AddObservable<QObs>(TopParams);
|
TheHMC.Resources.AddObservable<QObs>(TopParams);
|
||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user