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