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

This commit is contained in:
sjplimp
2008-01-03 18:57:32 +00:00
parent fdd2b430d6
commit fada174882
3 changed files with 15 additions and 6 deletions

View File

@ -450,6 +450,7 @@ int Input::execute_command()
else if (!strcmp(command,"thermo_modify")) thermo_modify();
else if (!strcmp(command,"thermo_style")) thermo_style();
else if (!strcmp(command,"timestep")) timestep();
else if (!strcmp(command,"uncompute")) uncompute();
else if (!strcmp(command,"undump")) undump();
else if (!strcmp(command,"unfix")) unfix();
else if (!strcmp(command,"units")) units();
@ -1122,6 +1123,14 @@ void Input::timestep()
/* ---------------------------------------------------------------------- */
void Input::uncompute()
{
if (narg != 1) error->all("Illegal uncompute command");
modify->delete_compute(arg[0]);
}
/* ---------------------------------------------------------------------- */
void Input::undump()
{
if (narg != 1) error->all("Illegal undump command");