forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2813 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ccc857bd4e
commit
d2932e8642
|
@ -101,7 +101,6 @@ void FixTempRescale::init()
|
|||
|
||||
temperature->init(); // not yet called by Modify::init()
|
||||
efactor = (0.5 * force->boltz * temperature->dof);
|
||||
energy = 0.0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
@ -149,7 +148,7 @@ void FixTempRescale::end_of_step()
|
|||
}
|
||||
}
|
||||
|
||||
} else energy = 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in New Issue