mirror of https://github.com/lammps/lammps.git
add missing sllod initialization fixes
This commit is contained in:
parent
67a210e6d8
commit
971f5672c9
|
@ -51,6 +51,7 @@ FixNVTSllodIntel::FixNVTSllodIntel(LAMMPS *lmp, int narg, char **arg) :
|
||||||
modify->add_compute(fmt::format("{} {} temp/deform",
|
modify->add_compute(fmt::format("{} {} temp/deform",
|
||||||
id_temp,group->names[igroup]));
|
id_temp,group->names[igroup]));
|
||||||
tcomputeflag = 1;
|
tcomputeflag = 1;
|
||||||
|
nondeformbias = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
|
@ -56,6 +56,7 @@ FixNVTSllodKokkos<DeviceType>::FixNVTSllodKokkos(LAMMPS *lmp, int narg, char **a
|
||||||
this->id_temp = utils::strdup(std::string(this->id)+"_temp");
|
this->id_temp = utils::strdup(std::string(this->id)+"_temp");
|
||||||
this->modify->add_compute(fmt::format("{} all temp/deform/kk",this->id_temp));
|
this->modify->add_compute(fmt::format("{} all temp/deform/kk",this->id_temp));
|
||||||
this->tcomputeflag = 1;
|
this->tcomputeflag = 1;
|
||||||
|
this->nondeformbias = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
Loading…
Reference in New Issue