git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6892 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-08-31 20:29:58 +00:00
parent 4fdd629988
commit b3942f9b29

View File

@ -255,10 +255,12 @@ void FixWallPiston::post_integrate()
if (update->ntimestep % 1000 == 0)
if (comm->me == 0) {
if (screen)
fprintf(screen,"SHOCK: step %d t %g zpos %g vz %g az %g zlo %g\n",
fprintf(screen,"SHOCK: step " BIGINT_FORMAT
" t %g zpos %g vz %g az %g zlo %g\n",
update->ntimestep, t, zlo, vz, paccelz, domain->boxlo[2]);
if (logfile)
fprintf(logfile,"SHOCK: step %d t %g zpos %g vz %g az %g zlo %g\n",
fprintf(logfile,"SHOCK: step " BIGINT_FORMAT
" t %g zpos %g vz %g az %g zlo %g\n",
update->ntimestep, t, zlo, vz, paccelz, domain->boxlo[2]);
}