Skip to content

Commit

Permalink
corrected output of forces
Browse files Browse the repository at this point in the history
  • Loading branch information
urbach committed Feb 20, 2013
1 parent 24f56b2 commit 5905f46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions update_momenta.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,9 @@ void update_momenta(int * mnllist, double step, const int no,
max = sum2;
#endif
if(g_proc_id == 0) {
printf("# force on timescale %d: aver: %1.2e max: %1.2e dt*aver: %1.2e dt*max: %1.2e dt: %1.4e\n",
printf("# squared force on timescale %d: aver: %1.2e max: %1.2e dt: %1.4e\n",
monomial_list[ mnllist[0] ].timescale,
fabs(sum/((double)(VOLUME*g_nproc))/4.), max,
fabs(step*sum/((double)(VOLUME*g_nproc))/4.), fabs(step*max), step);
sum/((double)(VOLUME*g_nproc))/4., max, step);
fflush(stdout);
}
}
Expand Down

0 comments on commit 5905f46

Please sign in to comment.