fix cut-n-paste bug

This commit is contained in:
Axel Kohlmeyer
2021-05-17 18:14:21 -04:00
parent 333f0c0c2a
commit 7ebed94df9

View File

@ -221,7 +221,7 @@ FixQBMSST::FixQBMSST(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
// create a new compute potential energy compute
id_pe = utils::strdup(std::string(id) + "_pe");
modify->add_compute(fmt::format("{} all pe",id_temp));
modify->add_compute(fmt::format("{} all pe",id_pe));
peflag = 1;
// allocate qbmsst