# To be defined on the "make" command line: # M3TARGET = M3TARGET.IS.UNDEFINED M3TARGET = SOLgnu # Cv Pa Cn Ex Po El RUNS = \ torus-5-03:100f-100s-final:torus-Cv033+Ex033+El033:Grad.Euler:5000:0.33:0.00:0.00:0.33:0.00:0.33 \ torus-5-03:100f-100s-final:torus-Cv008+Ex008+El083:Grad.Euler:5000:0.08:0.00:0.00:0.08:0.00:0.83 \ torus-5-03:100f-100s-final:torus-Cv008+Ex083+El008:Grad.Euler:5000:0.08:0.00:0.00:0.83:0.00:0.08 \ torus-5-03:100f-100s-final:torus-Cv083+Ex008+El008:Grad.Euler:5000:0.83:0.00:0.00:0.08:0.00:0.08 \ torus-5-03:100f-100s-final:torus-Cv011+Ex044+El044:Grad.Euler:5000:0.11:0.00:0.00:0.44:0.00:0.44 \ \ torus-5-03:100f-100s-final:torus-Cv033+Pa033+El033:Grad.Euler:5000:0.33:0.33:0.00:0.00:0.00:0.33 \ torus-5-03:100f-100s-final:torus-Cv008+Pa008+El083:Grad.Euler:5000:0.08:0.08:0.00:0.00:0.00:0.83 \ torus-5-03:100f-100s-final:torus-Cv008+Pa083+El008:Grad.Euler:5000:0.08:0.83:0.00:0.00:0.00:0.08 \ torus-5-03:100f-100s-final:torus-Cv083+Pa008+El008:Grad.Euler:5000:0.83:0.08:0.00:0.00:0.00:0.08 \ \ torus-5-03:100f-100s-final:torus-Cv033+Pa033+Ex033:Grad.Euler:5000:0.33:0.33:0.00:0.33:0.00:0.00 \ torus-5-03:100f-100s-final:torus-Cv008+Pa008+Ex083:Grad.Euler:5000:0.08:0.08:0.00:0.83:0.00:0.00 \ torus-5-03:100f-100s-final:torus-Cv008+Pa083+Ex008:Grad.Euler:5000:0.08:0.83:0.00:0.08:0.00:0.00 \ torus-5-03:100f-100s-final:torus-Cv083+Pa008+Ex008:Grad.Euler:5000:0.83:0.08:0.00:0.08:0.00:0.00 \ \ torus-5-03:100f-100s-final:torus-Pa033+Ex033+El033:Grad.Euler:5000:0.00:0.33:0.00:0.33:0.00:0.33 \ torus-5-03:100f-100s-final:torus-Pa008+Ex008+El083:Grad.Euler:5000:0.00:0.08:0.00:0.08:0.00:0.83 \ torus-5-03:100f-100s-final:torus-Pa008+Ex083+El008:Grad.Euler:5000:0.00:0.08:0.00:0.83:0.00:0.08 \ torus-5-03:100f-100s-final:torus-Pa083+Ex008+El008:Grad.Euler:5000:0.00:0.83:0.00:0.08:0.00:0.08 \ torus-5-03:100f-100s-final:torus-Pa044+Ex011+El044:Grad.Euler:5000:0.00:0.44:0.00:0.11:0.00:0.44 NORUNS = \ bitorus-3-01:100f-100s-final:bitorus-3-01-1000g-110105:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:5.00 \ fork-3-02:100f-100s-final:fork-3-02-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ klein-5-01:100f-100s-final:klein-5-01-1000g-110105:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:5.00 \ klein-5-02:100f-100s-final:klein-5-02-1000g-110105:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:5.00 \ pplane-5-01:100f-100s-final:pplane-5-01-0500g-110105:Grad.Euler:0500:1.00:1.00:0.00:1.00:0.00:5.00 \ pplane-5-01:100f-100s-final:pplane-5-01-2000g-110105:Grad.Euler:2000:1.00:1.00:0.00:1.00:0.00:5.00 \ pplane-5-01:100f-100s-final:pplane-5-01-4000g-110105:Grad.Euler:4000:1.00:1.00:0.00:1.00:0.00:5.00 \ sausage-3-01:100f-100s-final:sausage-3-01-0100g-110100:Grad.Euler:0100:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-0250g-110100:Grad.Euler:0250:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-0500g-110100:Grad.Euler:0500:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-1000g-110100:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-2000g-110100:Grad.Euler:2000:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-3000g-110100:Grad.Euler:3000:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-7500g-110100:Grad.Euler:7500:1.00:1.00:0.00:1.00:0.00:0.00 \ sausage-3-01:100f-100s-final:sausage-3-01-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ sausage-3-01:100f-100s-final:sausage-3-01-2000g-110100:Grad.Euler:2000:1.00:1.00:0.00:1.00:0.00:0.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-005099:Grad.Euler:1000:0.00:0.00:5.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-100019:Grad.Euler:1000:1.00:0.00:0.00:0.00:1.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-105099:Grad.Euler:1000:1.00:0.00:5.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-d00019:Grad.Euler:1000:0.10:0.00:0.00:0.00:1.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-d00099:Grad.Euler:1000:0.10:0.00:0.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-h05099:Grad.Euler:1000:0.01:0.00:5.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-q05099:Grad.Euler:1000:0.03:0.00:5.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-r05099:Grad.Euler:1000:0.02:0.00:5.00:0.00:9.00:9.00 \ tetra-3-01:100f-100s-final:tetra-3-01-1000g-r95099:Grad.Euler:1000:9.00:0.00:5.00:0.00:9.00:9.00 \ torus-5-01:100f-100s-final:torus-5-01-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-01:100f-100s-final:torus-5-01-2500g-111111:Grad.Euler:2500:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-01:100f-100s-final:torus-5-01-7500g-111111:Grad.Euler:7500:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-02:015f-015s:torus-5-02-0300g-110101:Grad.Euler:0300:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-02:015f-015s:torus-5-02-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-02:015f-015s:torus-5-02-3000g-110101:Grad.Euler:3000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-02:100f-100s-final:torus-5-02-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-02:100f-100s-final:torus-5-02-3000g-110101:Grad.Euler:3000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-03:100f-100s-final:torus-5-03-0100g-110105:Grad.Euler:0100:1.00:1.00:0.00:1.00:0.00:5.00 \ torus-5-03:100f-100s-final:torus-5-03-0300g-110105:Grad.Euler:0300:1.00:1.00:0.00:1.00:0.00:5.00 \ torus-5-03:100f-100s-final:torus-5-03-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ torus-5-03:100f-100s-final:torus-5-03-1000g-110105:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:5.00 \ torus-5-03:100f-100s-final:torus-5-03-1000g-111111:Grad.Euler:1000:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-03:100f-100s-final:torus-5-03-2500g-111111:Grad.Euler:2500:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-03:100f-100s-final:torus-5-03-3000g-110105:Grad.Euler:3000:1.00:1.00:0.00:1.00:0.00:5.00 \ torus-5-03:100f-100s-final:torus-5-03-7500g-111111:Grad.Euler:7500:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-04:100f-100s-final:torus-5-04-2500g-111111:Grad.Euler:2500:1.00:1.00:1.00:1.00:1.00:1.00 \ torus-5-04:100f-100s-final:torus-5-04-7500g-111111:Grad.Euler:7500:1.00:1.00:1.00:1.00:1.00:1.00 \ tritorus-3-08:100f-100s-final:tritorus-3-08-0100g-110101:Grad.Euler:0100:1.00:1.00:0.00:1.00:0.00:1.00 \ tritorus-3-08:100f-100s-final:tritorus-3-08-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ tritorus-3-08:100f-100s-final:tritorus-3-08-1000g-110101:Grad.Euler:1000:1.00:1.00:0.00:1.00:0.00:1.00 \ PROG = ../$(M3TARGET)/OptShape TRIANGDIR = ../../SmoothShape/tests all: ;\ for r in $(RUNS); do \ echo $$r; \ make RUN=$$r M3TARGET=$(M3TARGET) single ; \ done COLON:= : EMPTY:= SPACE:= $(EMPTY) $(EMPTY) RUN:= RUN.IS.UNDEFINED RUNFIELDS:= $(subst $(COLON),$(SPACE),$(RUN)) DIRIN:= $(word 1,$(RUNFIELDS)) ITERIN:= $(word 2,$(RUNFIELDS)) TOPOUT:= $(word 3,$(RUNFIELDS)) METHOD:= $(word 4,$(RUNFIELDS)) MAXEV:= $(word 5,$(RUNFIELDS)) WCURV:= $(word 6,$(RUNFIELDS)) WPAREA:= $(word 7,$(RUNFIELDS)) WCORNER:= $(word 8,$(RUNFIELDS)) WEXCEN:= $(word 9,$(RUNFIELDS)) WPOTEN:= $(word 10,$(RUNFIELDS)) WELECT:= $(word 11,$(RUNFIELDS)) TOPIN = $(DIRIN)-$(ITERIN) single: $(PROG) $(TRIANGDIR)/$(DIRIN)/$(TOPIN).top ;\ run-test $(TRIANGDIR)/$(DIRIN)/$(TOPIN) $(TOPOUT) $(METHOD) $(MAXEV) \ $(WCURV) $(WPAREA) $(WCORNER) $(WEXCEN) $(WPOTEN) $(WELECT)