forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3528 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
113ca39027
commit
964f1815d0
|
@ -240,7 +240,6 @@ FixAveTime::FixAveTime(LAMMPS *lmp, int narg, char **arg) :
|
|||
if (mode == SCALAR) {
|
||||
vector = new double[nvalues];
|
||||
vector_total = new double[nvalues];
|
||||
for (int i = 0; i < nvalues; i++) vector_total[i] = 0.0;
|
||||
if (ave == WINDOW)
|
||||
vector_list = memory->create_2d_double_array(nwindow,nvalues,
|
||||
"ave/time:vector_list");
|
||||
|
@ -248,9 +247,6 @@ FixAveTime::FixAveTime(LAMMPS *lmp, int narg, char **arg) :
|
|||
array = memory->create_2d_double_array(nrows,nvalues,"ave/time:array");
|
||||
array_total = memory->create_2d_double_array(nrows,nvalues,
|
||||
"ave/time:array_total");
|
||||
for (int i = 0; i < nrows; i++)
|
||||
for (int j = 0; j < nvalues; j++)
|
||||
array_total[i][j] = 0.0;
|
||||
if (ave == WINDOW)
|
||||
array_list = memory->create_3d_double_array(nwindow,nrows,nvalues,
|
||||
"ave/time:array_list");
|
||||
|
|
|
@ -342,5 +342,6 @@ void Temper::print_status()
|
|||
for (int i = 0; i < nworlds; i++)
|
||||
fprintf(universe->ulogfile,"%d ",world2temp[i]);
|
||||
fprintf(universe->ulogfile,"\n");
|
||||
fflush(universe->ulogfile);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue