legume.Circle¶
-
class
legume.
Circle
(eps=1.0, x_cent=0.0, y_cent=0.0, r=0.0)¶ Circle shape
-
__init__
(eps=1.0, x_cent=0.0, y_cent=0.0, r=0.0)¶ Create a circle shape
Parameters: - eps (float) – Permittivity value
- x_cent (float) – x-coordinate of circle center
- y_cent (float) – y-coordinate of circle center
- r (float) – radius of circle
Methods
__init__
([eps, x_cent, y_cent, r])Create a circle shape compute_ft
(gvec)Compute Fourier transform of a 2D shape function is_inside
(x, y)Elementwise indicator function for the shape -