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

This commit is contained in:
sjplimp 2014-05-02 14:55:27 +00:00
parent 9130641820
commit eddd7b148f
1 changed files with 2 additions and 0 deletions

View File

@ -3355,6 +3355,7 @@ int Variable::special_function(char *word, char *contents, Tree **tree,
error->all(FLERR,"Invalid special function in variable formula");
int iregion = region_function(arg1);
domain->regions[iregion]->prematch();
Tree *newtree = new Tree();
newtree->type = RMASK;
@ -3372,6 +3373,7 @@ int Variable::special_function(char *word, char *contents, Tree **tree,
if (igroup == -1)
error->all(FLERR,"Group ID in variable formula does not exist");
int iregion = region_function(arg2);
domain->regions[iregion]->prematch();
Tree *newtree = new Tree();
newtree->type = GRMASK;