On Wed, 18 Oct 2006, matt wrote:
Is there a way to set metal boundaries using the ctl interface, other than by explicitly placing metal blocks?

Yes, you need to call a lower-level function (meep::fields::set_boundary)

e.g.

(init-fields)
(meep-fields-set-boundary fields Low X Metallic)
(meep-fields-set-boundary fields High X Magnetic)

sets the boundary in the +x direction to be a perfect electric conductor and the boundary in the +y direction to be a perfect magnetic conductor. (Perfect electric conduction boundaries are the default unless you use a k-point, which makes periodic the default.)

With the C++ interface, how does one specify metals, or more specifically, metallo-dielectric structures?

Perfect metals can be specified just by making epsilon very large and negative (e.g. -1e20). To get realistic metals you need to use dispersive materials.

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to