Engine prototype #13
@ -28,14 +28,14 @@ for s in 1:9
|
|||||||
end
|
end
|
||||||
|
|
||||||
if s > 3
|
if s > 3
|
||||||
# each chain sphere is externally tangent to the two nucleus spheres
|
# each chain sphere is externally tangent to the "sun" and "moon" spheres
|
||||||
for n in 2:3
|
for n in 2:3
|
||||||
append!(J, [s, n])
|
append!(J, [s, n])
|
||||||
append!(K, [n, s])
|
append!(K, [n, s])
|
||||||
append!(values, [-1, -1])
|
append!(values, [-1, -1])
|
||||||
end
|
end
|
||||||
|
|
||||||
# each chain sphere is externally tangent to the next sphere in the chain
|
# each chain sphere is externally tangent to the next chain sphere
|
||||||
s_next = 4 + mod(s-3, 6)
|
s_next = 4 + mod(s-3, 6)
|
||||||
append!(J, [s, s_next])
|
append!(J, [s, s_next])
|
||||||
append!(K, [s_next, s])
|
append!(K, [s_next, s])
|
||||||
|
Loading…
Reference in New Issue
Block a user