mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-06 07:58:05 +01:00
Simplifying HMC syntax for the final user
This commit is contained in:
1 parent
510f55ba30
commit
1e9317e5cf
4 files changed
+28
-23
No files matched your search
@@ -39,10 +39,9 @@ int main (int argc, char ** argv)
|
||||
FullSet.push_back(Level1);
|
||||
|
||||
// Create integrator
|
||||
typedef MinimumNorm2 IntegratorAlgorithm;// change here to change the algorithm
|
||||
typedef MinimumNorm2 IntegratorAlgorithm;// change here to modify the algorithm
|
||||
IntegratorParameters MDpar(12,5,1.0);
|
||||
std::vector<int> rel ={1};
|
||||
Integrator<IntegratorAlgorithm> MDynamics(&Fine,MDpar, FullSet,rel);
|
||||
Integrator<IntegratorAlgorithm> MDynamics(&Fine,MDpar, FullSet);
|
||||
|
||||
// Create HMC
|
||||
HMCparameters HMCpar;
|
||||
|
||||
Reference in new issue
Block a user