mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-14 13:57:07 +01:00
Some fix for the GenericHMCrunner
This commit is contained in:
@ -43,12 +43,13 @@ class HmcRunner : public ScalarBinaryHmcRunner {
|
||||
void BuildTheAction(int argc, char **argv)
|
||||
|
||||
{
|
||||
// Notice that the Grid is for reals now
|
||||
UGrid = SpaceTimeGrid::makeFourDimGrid(
|
||||
GridDefaultLatt(), GridDefaultSimd(Nd, vComplex::Nsimd()),
|
||||
GridDefaultLatt(), GridDefaultSimd(Nd, vReal::Nsimd()),
|
||||
GridDefaultMpi());
|
||||
UrbGrid = SpaceTimeGrid::makeFourDimRedBlackGrid(UGrid);
|
||||
|
||||
// Scalar action
|
||||
// Real Scalar action
|
||||
ScalarActionR Saction(0.11,0.);
|
||||
|
||||
// Collect actions
|
||||
@ -59,7 +60,7 @@ class HmcRunner : public ScalarBinaryHmcRunner {
|
||||
|
||||
|
||||
Run(argc, argv);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -82,8 +82,8 @@ class HmcRunner : public BinaryHmcRunner {
|
||||
TheAction.push_back(Level2);
|
||||
|
||||
// Add observables
|
||||
//PlaquetteLogger<BinaryHmcRunner::ImplPolicy> PlaqLog(std::string("plaq"));
|
||||
//ObservablesList.push_back(PlaqLog);
|
||||
PlaquetteLogger<BinaryHmcRunner::ImplPolicy> PlaqLog(std::string("plaq"));
|
||||
ObservablesList.push_back(&PlaqLog);
|
||||
|
||||
Run(argc, argv);
|
||||
};
|
||||
|
Reference in New Issue
Block a user