Skip to content

Yee Lattice of meep at the boundary of two media #2623

Answered by stevengj
Baobabs-kuang asked this question in Q&A
Discussion options

You must be logged in to vote

I guess the dielectric constant data derived through get_array is not the data used by meep when calculating the difference equation?

Right. get_array with mp.Dielectric returns a kind of average scalar dielectric constant at the center of each voxel, which is much simpler than the actual dielectric constant used internally. In particular, Meep does anisotropic subpixel averaging of ε near material interfaces, as described in this paper, so internally its ε is a tensor, with different tensor components (from different averages) at every Yee lattice point.

Moreover, when you get fields with sim.get_dft_array(dft_obj, mp.Ez, …), it is also interpolated from the Yee lattice to the center o…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Baobabs-kuang
Comment options

@Baobabs-kuang
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Baobabs-kuang
Comment options

Answer selected by Baobabs-kuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants