magnet.generate.double_circle#
- magnet.generate.double_circle(output_path: str, r: float = 0.6, center: float = 0.5, lc: float = 0.05)#
Create a mesh made by 2 intersecting circles.
Creates a triangular mesh comprising 2 circles of radius r and with center respectively in (center, 0) and (-center, 0). r must be greater than center.
- Parameters:
output_path (str) – File path where the mesh will be saved.
lc (float, optional) – Triangle size parameter: default is 0.05.
r (float, optional) – Radius of the two circles; default is 0.6.
- Return type:
None