git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1602 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user