forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9135 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
86ab258279
commit
96ac3913b2
|
@ -566,9 +566,7 @@ void FixAveTime::invoke_scalar(bigint ntimestep)
|
||||||
// evaluate equal-style variable
|
// evaluate equal-style variable
|
||||||
|
|
||||||
} else if (which[i] == VARIABLE)
|
} else if (which[i] == VARIABLE)
|
||||||
printf("AAA\n");
|
|
||||||
scalar = input->variable->compute_equal(m);
|
scalar = input->variable->compute_equal(m);
|
||||||
printf("BBB %g\n",scalar);
|
|
||||||
|
|
||||||
// add value to vector or just set directly if offcol is set
|
// add value to vector or just set directly if offcol is set
|
||||||
|
|
||||||
|
|
|
@ -1518,12 +1518,8 @@ void Thermo::compute_press()
|
||||||
|
|
||||||
void Thermo::compute_pe()
|
void Thermo::compute_pe()
|
||||||
{
|
{
|
||||||
printf("TTT\n");
|
|
||||||
printf("UUU1 %d\n",normflag);
|
|
||||||
printf("UUU2 %ld\n",natoms);
|
|
||||||
dvalue = pe->scalar;
|
dvalue = pe->scalar;
|
||||||
if (normflag) dvalue /= natoms;
|
if (normflag) dvalue /= natoms;
|
||||||
printf("UUU3 %g\n",dvalue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
Loading…
Reference in New Issue