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

This commit is contained in:
sjplimp
2008-03-17 20:49:18 +00:00
parent 85d81c4207
commit d4f14ea20b
7 changed files with 71 additions and 33 deletions

View File

@ -35,14 +35,14 @@ FixTempBerendsen::FixTempBerendsen(LAMMPS *lmp, int narg, char **arg) :
{
if (narg != 6) error->all("Illegal fix temp/berendsen command");
t_start = atof(arg[3]);
t_stop = atof(arg[4]);
t_period = atof(arg[5]);
// Berendsen thermostat should be applied every step
nevery = 1;
t_start = atof(arg[3]);
t_stop = atof(arg[4]);
t_period = atof(arg[5]);
// error checks
if (t_period <= 0.0) error->all("Fix temp/berendsen period must be > 0.0");