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

Adding action names

This commit is contained in:
Guido Cossu
2016-11-16 16:46:49 +00:00
parent 454302414d
commit 3834feb4b7
14 changed files with 43 additions and 14 deletions

View File

@ -123,11 +123,13 @@ class HmcRunner : public BinaryHmcRunner {
ObservablesList.push_back(&Checkpoint);
// Smearing section, omit if not needed
/*
double rho = 0.1; // smearing parameter
int Nsmear = 2; // number of smearing levels
Smear_Stout<BinaryHmcRunner::ImplPolicy> Stout(rho);
SmearedConfiguration<BinaryHmcRunner::ImplPolicy> SmearingPolicy(
UGrid, Nsmear, Stout);
*/
///////////////////
// Run(argc, argv, Checkpoint, SmearingPolicy);
@ -151,7 +153,7 @@ int main(int argc, char **argv) {
std::vector<int> ParSeed({6, 7, 8, 9, 10});
TheHMC.RNGSeeds(SerSeed, ParSeed);
TheHMC.MDparameters.set(5, 1.0);// MDsteps, traj length
TheHMC.MDparameters.set(10, 1.0);// MDsteps, traj length
TheHMC.BuildTheAction(argc, argv);
}

View File

@ -80,6 +80,7 @@ class HmcRunner : public BinaryHmcRunner {
// Gauge action
std::cout << GridLogMessage << "Beta: " << HMCPar.beta << std::endl;
GaugeAction Waction(HMCPar.beta);
// Collect actions