git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5547 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -789,9 +789,7 @@ void FixAveSpatial::end_of_step()
|
||||
// output result to file
|
||||
|
||||
if (fp && me == 0) {
|
||||
char fstr[16];
|
||||
sprintf(fstr,"%s %%d\n",BIGINT_FORMAT);
|
||||
fprintf(fp,fstr,ntimestep,nbins);
|
||||
fprintf(fp,BIGINT_FORMAT " %d\n",ntimestep,nbins);
|
||||
if (ndim == 1)
|
||||
for (m = 0; m < nbins; m++) {
|
||||
fprintf(fp," %d %g %g",m+1,coord[m][0],
|
||||
|
||||
Reference in New Issue
Block a user