git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8551 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -450,6 +450,7 @@ int Input::execute_command()
|
||||
else if (!strcmp(command,"bond_coeff")) bond_coeff();
|
||||
else if (!strcmp(command,"bond_style")) bond_style();
|
||||
else if (!strcmp(command,"boundary")) boundary();
|
||||
else if (!strcmp(command,"box")) box();
|
||||
else if (!strcmp(command,"communicate")) communicate();
|
||||
else if (!strcmp(command,"compute")) compute();
|
||||
else if (!strcmp(command,"compute_modify")) compute_modify();
|
||||
@ -954,6 +955,15 @@ void Input::boundary()
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void Input::box()
|
||||
{
|
||||
if (domain->box_exist)
|
||||
error->all(FLERR,"Box command after simulation box is defined");
|
||||
domain->set_box(narg,arg);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void Input::communicate()
|
||||
{
|
||||
comm->set(narg,arg);
|
||||
|
||||
Reference in New Issue
Block a user