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

This commit is contained in:
sjplimp
2016-04-27 14:56:23 +00:00
parent 05d35188c7
commit 5f86c15dd2
5 changed files with 23 additions and 12 deletions

View File

@ -718,11 +718,11 @@ void FixNH::setup(int vflag)
t_current = temperature->compute_scalar();
tdof = temperature->dof;
// t_target is needed by NPH and NPT in compute_scalar()
// t_target is needed by NVT and NPT in compute_scalar()
// If no thermostat or using fix nphug,
// t_target must be defined by other means.
if (tstat_flag && strcmp(style,"nphug") != 0) {
if (tstat_flag && strstr(style,"nphug") == NULL) {
compute_temp_target();
} else if (pstat_flag) {