mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 07:17:06 +01:00
Adding a resource manager
This commit is contained in:
@ -55,7 +55,7 @@ struct HMCparameters {
|
||||
MetropolisTest = true;
|
||||
NoMetropolisUntil = 10;
|
||||
StartTrajectory = 0;
|
||||
Trajectories = 200;
|
||||
Trajectories = 10;
|
||||
/////////////////////////////////
|
||||
}
|
||||
|
||||
@ -206,10 +206,10 @@ class HybridMonteCarlo {
|
||||
|
||||
Params.print_parameters();
|
||||
TheIntegrator.print_parameters();
|
||||
TheIntegrator.print_actions();
|
||||
|
||||
// Actual updates (evolve a copy Ucopy then copy back eventually)
|
||||
for (int traj = Params.StartTrajectory;
|
||||
traj < Params.Trajectories + Params.StartTrajectory; ++traj) {
|
||||
for (int traj = Params.StartTrajectory; traj < Params.Trajectories + Params.StartTrajectory; ++traj) {
|
||||
std::cout << GridLogMessage << "-- # Trajectory = " << traj << "\n";
|
||||
Ucopy = Ucur;
|
||||
|
||||
|
Reference in New Issue
Block a user