1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Logging improvement

This commit is contained in:
paboyle 2015-12-21 15:36:28 +00:00
parent 36e6f9ac7b
commit 1b94253ba4

View File

@ -128,7 +128,6 @@ namespace Grid{
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"; std::cout<<GridLogMessage << "-- # Trajectory = "<< traj << "\n";
Ucopy = Ucur; Ucopy = Ucur;
DeltaH = evolve_step(Ucopy); DeltaH = evolve_step(Ucopy);
@ -142,8 +141,11 @@ namespace Grid{
Ucur = Ucopy; Ucur = Ucopy;
} }
plaq = WilsonLoops<GaugeField>::avgPlaquette(Ucur);
std::cout << " Now gauge field has plaq = "<< plaq <<std::endl;
for(int obs = 0;obs<Observables.size();obs++){ for(int obs = 0;obs<Observables.size();obs++){
Observables[obs]->TrajectoryComplete (traj,Ucur,sRNG,pRNG); Observables[obs]->TrajectoryComplete (traj+1,Ucur,sRNG,pRNG);
} }
} }