/* $OpenXM: OpenXM/src/asir-contrib/packages/sample/contiguity,v 1.1 2000/01/21 10:39:44 takayama Exp $ */ /* contiguity */ def contiguity_param_only(F) { if (deg(F,x) != 0) return(0); if (deg(F,y) != 0) return(0); if (deg(F,dx) != 0) return(0); if (deg(F,dy) != 0) return(0); return(F); } def contiguity_eliminated(G) { A = map(contiguity_param_only,G); C = []; for (I=0; I