Replies: 3 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
It says here in the description of the class mp.Volume:
And the constructor of the mp.Volume class code accepts the named 'volume' argument. |
Beta Was this translation helpful? Give feedback.
-
To make a source that covers a complicated shape (e.g. a polygon) that cannot easily be composed from Cartesian boxes, you should
(Alternatively, you can add a large number of source "boxes" that fill your desired shape.) |
Beta Was this translation helpful? Give feedback.
-
I modified the source of the example bent-waveguide.ipynb to have 6 vertices:
bent-waveguide-1.ipynb
Instead of drawing a polygon with 6 vertices it draws a smaller square:
This square is obviously smaller than 2x2 that was specified in the modified example.
Why is the displayed shape smaller than specified in the vertices array, and why doesn't it have 6 vertices?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions