git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5520 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -191,7 +191,7 @@ void DumpLocal::write_header(bigint ndump)
|
||||
{
|
||||
if (me == 0) {
|
||||
fprintf(fp,"ITEM: TIMESTEP\n");
|
||||
fprintf(fp,"%d\n",update->ntimestep);
|
||||
fprintf(fp,BIGINT_FORMAT_NL,update->ntimestep);
|
||||
fprintf(fp,"ITEM: NUMBER OF %s\n",label);
|
||||
fprintf(fp,BIGINT_FORMAT_NL,ndump);
|
||||
fprintf(fp,"ITEM: %s %s\n",label,columns);
|
||||
@ -207,7 +207,6 @@ int DumpLocal::count()
|
||||
// invoke Computes for local quantities
|
||||
|
||||
if (ncompute) {
|
||||
int ntimestep = update->ntimestep;
|
||||
for (i = 0; i < ncompute; i++) {
|
||||
if (!(compute[i]->invoked_flag & INVOKED_LOCAL)) {
|
||||
compute[i]->compute_local();
|
||||
|
||||
Reference in New Issue
Block a user