Custom Material Import with Arbitrary Permittivity and Conductivity Distribution #2310
-
I want to import data of a complex material (with arbitrary permittivity and conductivity) defined over a uniformly distributed set of grid points. The two data files have permittivity / conductivity values w.r.t 2D coordinates. Coordinates are mentioned since the material does not extend beyond these coordinates (essentially geometry and material data in one). The only two options that came close were:
What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I would use a Remember, meep's philosophy is to promote an illusion of continuity. So it expects continuous representations as inputs, even if you have to fake it with interpolation (as that's what meep does under the hood using pervasive interpolation) |
Beta Was this translation helpful? Give feedback.
-
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Beta Was this translation helpful? Give feedback.
I would use a
material_function
and just wrap your discrete samples with some arbitrary interpolator (eg linear interpolation is what meep uses everywhere).Remember, meep's philosophy is to promote an illusion of continuity. So it expects continuous representations as inputs, even if you have to fake it with interpolation (as that's what meep does under the hood using pervasive interpolation)