forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1158 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
18456c04f9
commit
9e157db3d2
|
@ -405,5 +405,5 @@ double FixAveTime::compute_scalar()
|
|||
double FixAveTime::compute_vector(int n)
|
||||
{
|
||||
if (norm) return vector_total[n]/norm;
|
||||
else return 0.0;
|
||||
return 0.0;
|
||||
}
|
||||
|
|
|
@ -304,7 +304,7 @@ double FixIndent::compute_vector(int n)
|
|||
MPI_Allreduce(indenter,indenter_all,4,MPI_DOUBLE,MPI_SUM,world);
|
||||
indenter_flag = 1;
|
||||
}
|
||||
return indenter_all[n];
|
||||
return indenter_all[n+1];
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
|
@ -193,5 +193,5 @@ double FixWallLJ126::compute_vector(int n)
|
|||
MPI_Allreduce(wall,wall_all,4,MPI_DOUBLE,MPI_SUM,world);
|
||||
wall_flag = 1;
|
||||
}
|
||||
return wall_all[n];
|
||||
return wall_all[n+1];
|
||||
}
|
||||
|
|
|
@ -191,5 +191,5 @@ double FixWallLJ93::compute_vector(int n)
|
|||
MPI_Allreduce(wall,wall_all,4,MPI_DOUBLE,MPI_SUM,world);
|
||||
wall_flag = 1;
|
||||
}
|
||||
return wall_all[n];
|
||||
return wall_all[n+1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue