git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9308 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1209,6 +1209,10 @@ void Domain::add_region(int narg, char **arg)
|
|||||||
|
|
||||||
else error->all(FLERR,"Invalid region style");
|
else error->all(FLERR,"Invalid region style");
|
||||||
|
|
||||||
|
// initialize any region variables via init()
|
||||||
|
// in case region is used between runs, e.g. to print a variable
|
||||||
|
|
||||||
|
regions[nregion]->init();
|
||||||
nregion++;
|
nregion++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -397,8 +397,4 @@ void Region::options(int narg, char **arg)
|
|||||||
|
|
||||||
if (moveflag || rotateflag) dynamic = 1;
|
if (moveflag || rotateflag) dynamic = 1;
|
||||||
else dynamic = 0;
|
else dynamic = 0;
|
||||||
|
|
||||||
// initialize option variables in case region is used between runs
|
|
||||||
|
|
||||||
init();
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user