1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 07:47:06 +01:00

Added ExpScalar observable

This commit is contained in:
Guido Cossu
2018-05-02 11:05:47 +01:00
parent f61c241c18
commit a741e7b9ba
6 changed files with 103 additions and 2 deletions

View File

@ -91,6 +91,12 @@ int main(int argc, char **argv) {
RNGModuleParameters RNGpar(Reader);
TheHMC.Resources.SetRNGSeeds(RNGpar);
// Some online observable measurements
typedef ExpScalarMod<HMCWrapper::ImplPolicy> ExpObs;
ExpScalarParameters ExpParams(Reader);
TheHMC.Resources.AddObservable<ExpObs>(ExpParams);
///////////////////////////////////////////
// Real Scalar sh-Gordon action
ScalarActionParameters SPar(Reader);
shGordonActionR Saction(SPar.mass_squared, SPar.g);