We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1eebc9 commit 4f50655Copy full SHA for 4f50655
examples/radial_distance_example.py
@@ -48,7 +48,10 @@
48
# symmetric
49
available_space = enforce_helical_symmetry(available_space)
50
# Modify available space to account for thickness of magnets
51
-available_space = available_space - max(width, thickness) - 20
+tolerance = 5
52
+available_space = available_space - (
53
+ np.sqrt(width * width + thickness * thickness) + tolerance
54
+)
55
56
# Define a matrix of uniform unit thickness
57
uniform_unit_thickness = np.ones((len(toroidal_angles), len(poloidal_angles)))
0 commit comments