From: hackbard Date: Mon, 18 Aug 2008 12:07:33 +0000 (+0200) Subject: introduced pressure debug printf line X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97dc63eb6a519b8e1f4fbfaa9760dd94539436b0;p=physik%2Fposic.git introduced pressure debug printf line --- diff --git a/moldyn.c b/moldyn.c index 440a707..010b8ed 100644 --- a/moldyn.c +++ b/moldyn.c @@ -1709,6 +1709,7 @@ printf("\rsched:%d, steps:%d/%d, T:%4.1f/%4.1f P:%4.1f/%4.1f V:%6.1f (%d)", sched->count,i,moldyn->total_steps, moldyn->t,moldyn->t_avg, moldyn->p/BAR,moldyn->p_avg/BAR, + //moldyn->p/BAR,(moldyn->p-2.0*moldyn->ekin/(3.0*moldyn->volume))/BAR, moldyn->volume, (int)(t2.tv_sec-t1.tv_sec));