This commit is contained in:
Axel Kohlmeyer
2021-03-25 17:19:03 -04:00
parent 27e31c4b15
commit 2b34d88b71
2 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,7 @@ FixNPTGPU::FixNPTGPU(LAMMPS *lmp, int narg, char **arg) :
// and thus its KE/temperature contribution should use group all
id_temp = utils::strdup(std::string(id)+"_temp");
modify->add_compute(id_temp+" all temp");
modify->add_compute(std::string(id_temp)+" all temp");
tcomputeflag = 1;
// create a new compute pressure style

View File

@ -34,7 +34,6 @@ FixNPTOMP::FixNPTOMP(LAMMPS *lmp, int narg, char **arg) :
// compute group = all since pressure is always global (group all)
// and thus its KE/temperature contribution should use group all
id_temp = utils::strdup(std::string(id)+"_temp");
modify->add_compute(std::string(id_temp)+" all temp");
tcomputeflag = 1;