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

This commit is contained in:
sjplimp
2012-01-28 00:08:24 +00:00
parent 0ddb9dee57
commit 04044a5f79
4 changed files with 12 additions and 1 deletions

View File

@ -420,6 +420,7 @@ int Input::execute_command()
else if (!strcmp(command,"next")) next_command();
else if (!strcmp(command,"partition")) partition();
else if (!strcmp(command,"print")) print();
else if (!strcmp(command,"quit")) quit();
else if (!strcmp(command,"shell")) shell();
else if (!strcmp(command,"variable")) variable_command();
@ -792,6 +793,14 @@ void Input::print()
/* ---------------------------------------------------------------------- */
void Input::quit()
{
if (narg) error->all(FLERR,"Illegal quit command");
error->done();
}
/* ---------------------------------------------------------------------- */
void Input::shell()
{
if (narg < 1) error->all(FLERR,"Illegal shell command");