git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1608 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2008-03-17 23:37:19 +00:00
parent 62590294d6
commit 892fb116cd
18 changed files with 617 additions and 344 deletions

View File

@ -312,8 +312,8 @@ void FixNPH::setup(int vflag)
p_target[1] = p_start[1];
p_target[2] = p_start[2];
double tmp = temperature->compute_scalar();
if (press_couple == 0) {
double tmp = temperature->compute_scalar();
tmp = pressure->compute_scalar();
} else {
temperature->compute_vector();
@ -425,8 +425,8 @@ void FixNPH::final_integrate()
// compute new pressure
double tmp = temperature->compute_scalar();
if (press_couple == 0) {
double tmp = temperature->compute_scalar();
tmp = pressure->compute_scalar();
} else {
temperature->compute_vector();