5 makeconnected r b1 b2 b3
6 checknbshapes r -wire 18 -face 18 -shell 3 -solid 3 -t
8 cmakeperiodic rp -x 10 -y 10
9 checknbshapes rp -wire 20 -face 20 -shell 3 -solid 3 -t
15 cperiodictwins m2_twin m2
17 cmaterialson m2_pos + m2
18 cmaterialson m2_neg - m2_twin
20 if {![regexp "same shapes" [compare m2_pos b2]]} {
21 puts "Error: incorrect material associations"
24 if {![regexp "same shapes" [compare m2_neg b1]]} {
25 puts "Error: incorrect material associations"
29 crepeatshape r -x 1 -y 1
30 checknbshapes r -wire 76 -face 76 -shell 12 -solid 12 -t
34 checknbshapes g2 -face 4 -t
37 checknbshapes r -wire 20 -face 20 -shell 3 -solid 3 -t
42 cperiodictwins m2_twin m2
44 cmaterialson m2_pos + m2
45 cmaterialson m2_neg - m2_twin
47 if {![regexp "same shapes" [compare m2_pos b2]]} {
48 puts "Error: incorrect material associations"
51 if {![regexp "same shapes" [compare m2_neg b1]]} {
52 puts "Error: incorrect material associations"
56 checknbshapes r -wire 39 -face 39 -shell 6 -solid 6 -t
61 cperiodictwins m2_twin m2
63 checknbshapes m2_twin -face 3 -t