From eddd7b148fe53dd759cd797350335b80114be463 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 2 May 2014 14:55:27 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11879 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/variable.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/variable.cpp b/src/variable.cpp index 3fdfde7eba..e3c475aae5 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -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;