forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3094 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
f0aacd0847
commit
aa0243567e
|
@ -471,7 +471,7 @@ int FixBoxRelax::modify_param(int narg, char **arg)
|
||||||
|
|
||||||
icompute = modify->find_compute(id_press);
|
icompute = modify->find_compute(id_press);
|
||||||
if (icompute < 0) error->all("Pressure ID for fix modify does not exist");
|
if (icompute < 0) error->all("Pressure ID for fix modify does not exist");
|
||||||
modify->compute[icompute]->reset_extra_compute(id_temp);
|
modify->compute[icompute]->reset_extra_compute_fix(id_temp);
|
||||||
|
|
||||||
return 2;
|
return 2;
|
||||||
|
|
||||||
|
|
|
@ -822,7 +822,7 @@ int FixNPH::modify_param(int narg, char **arg)
|
||||||
|
|
||||||
icompute = modify->find_compute(id_press);
|
icompute = modify->find_compute(id_press);
|
||||||
if (icompute < 0) error->all("Pressure ID for fix npt does not exist");
|
if (icompute < 0) error->all("Pressure ID for fix npt does not exist");
|
||||||
modify->compute[icompute]->reset_extra_compute(id_temp);
|
modify->compute[icompute]->reset_extra_compute_fix(id_temp);
|
||||||
|
|
||||||
return 2;
|
return 2;
|
||||||
|
|
||||||
|
|
|
@ -961,7 +961,7 @@ int FixNPT::modify_param(int narg, char **arg)
|
||||||
|
|
||||||
icompute = modify->find_compute(id_press);
|
icompute = modify->find_compute(id_press);
|
||||||
if (icompute < 0) error->all("Pressure ID for fix modify does not exist");
|
if (icompute < 0) error->all("Pressure ID for fix modify does not exist");
|
||||||
modify->compute[icompute]->reset_extra_compute(id_temp);
|
modify->compute[icompute]->reset_extra_compute_fix(id_temp);
|
||||||
|
|
||||||
return 2;
|
return 2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue