forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13193 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
63871f0853
commit
5f1776e2ba
|
@ -163,7 +163,7 @@ void ComputeTempCOM::compute_vector()
|
||||||
remove velocity bias from atom I to leave thermal velocity
|
remove velocity bias from atom I to leave thermal velocity
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
void ComputeTempCOM::remove_bias(int, double *v)
|
void ComputeTempCOM::remove_bias(int i, double *v)
|
||||||
{
|
{
|
||||||
v[0] -= vbias[0];
|
v[0] -= vbias[0];
|
||||||
v[1] -= vbias[1];
|
v[1] -= vbias[1];
|
||||||
|
@ -193,7 +193,7 @@ void ComputeTempCOM::remove_bias_all()
|
||||||
assume remove_bias() was previously called
|
assume remove_bias() was previously called
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
void ComputeTempCOM::restore_bias(int, double *v)
|
void ComputeTempCOM::restore_bias(int i, double *v)
|
||||||
{
|
{
|
||||||
v[0] += vbias[0];
|
v[0] += vbias[0];
|
||||||
v[1] += vbias[1];
|
v[1] += vbias[1];
|
||||||
|
|
Loading…
Reference in New Issue