=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2018/builtin/gr.c,v retrieving revision 1.5 retrieving revision 1.7 diff -u -p -r1.5 -r1.7 --- OpenXM_contrib2/asir2018/builtin/gr.c 2020/10/06 06:31:19 1.5 +++ OpenXM_contrib2/asir2018/builtin/gr.c 2021/01/11 08:37:43 1.7 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2018/builtin/gr.c,v 1.4 2020/02/22 06:23:35 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2018/builtin/gr.c,v 1.6 2020/12/15 07:40:09 noro Exp $ */ #include "ca.h" #include "parse.h" @@ -84,7 +84,8 @@ static P *psc; static int *pss; static int psn,pslen; -static int NVars,CNVars; +static int NVars; +int CNVars; static VL VC; int PCoeffs; @@ -115,6 +116,7 @@ static int Max_mag = 0; static int Max_coef = 0; char *Demand = 0; static int PtozpRA = 0; +int ReversePOT = 0; int doing_f4; NODE TraceList; @@ -2346,6 +2348,8 @@ void dp_set_flag(Obj name,Obj value) MaxDeg = v; else if ( !strcmp(n,"NaiveSchreyer") ) NaiveSchreyer = v; + else if ( !strcmp(n,"ReversePOT") ) + ReversePOT = v; } void dp_make_flaglist(LIST *list) @@ -2386,6 +2390,7 @@ void dp_make_flaglist(LIST *list) STOZ(NoGC,v); MKNODE(n1,v,n); n = n1; MKSTR(name,"NoGC"); MKNODE(n1,name,n); n = n1; STOZ(NoCriB,v); MKNODE(n1,v,n); n = n1; MKSTR(name,"NoCriB"); MKNODE(n1,name,n); n = n1; STOZ(NoSugar,v); MKNODE(n1,v,n); n = n1; MKSTR(name,"NoSugar"); MKNODE(n1,name,n); n = n1; + STOZ(ReversePOT,v); MKNODE(n1,v,n); n = n1; MKSTR(name,"ReversePOT"); MKNODE(n1,name,n); n = n1; if ( Demand ) MKSTR(path,Demand); else