1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 04:37:05 +01:00

Added smearing to the topological charge observable

This commit is contained in:
Guido Cossu
2017-07-26 16:21:17 +01:00
parent 237cfd11ab
commit 7abc5613bd
3 changed files with 73 additions and 17 deletions

View File

@ -66,7 +66,10 @@ int main(int argc, char **argv) {
typedef PlaquetteMod<HMCWrapper::ImplPolicy> PlaqObs;
typedef TopologicalChargeMod<HMCWrapper::ImplPolicy> QObs;
TheHMC.Resources.AddObservable<PlaqObs>();
TheHMC.Resources.AddObservable<QObs>();
TopologyObsParameters TopParams;
TopParams.interval = 1;
TopParams.do_smearing = false;
TheHMC.Resources.AddObservable<QObs>(TopParams);
//////////////////////////////////////////////
/////////////////////////////////////////////////////////////