On Fri, 8 Jun 2007, Gunther Roelkens wrote:
> how can I set the boundary conditions of the simulation window in MEEP to 
> perfect magnetic conductors. By putting the PML=0 I get PEC, but no PMC...

You have to call a lower-level interface.  Instead of just calling (run), 
do

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

...and so on for each boundary (the choices are Magnetic, Metallic, or 
Periodic), and then call run or run-until etc. as usual.

Cordially,
Steven G. Johnson

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

Reply via email to