git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8242 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1350,10 +1350,7 @@ void Input::suffix()
|
||||
|
||||
void Input::thermo()
|
||||
{
|
||||
if (narg != 1) error->all(FLERR,"Illegal thermo command");
|
||||
int n = atoi(arg[0]);
|
||||
if (n < 0) error->all(FLERR,"Illegal thermo command");
|
||||
output->thermo_every = n;
|
||||
output->set_thermo(narg,arg);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user