Dear all, i try to run the meep simulation until 2 "stop-when" conditions are true at the same time. I am using the following scheme but it does not work.
(run-sources+ (and (stop-when-fields-decayed 10 Hx (vector3 0 (- pos)) 1e-3) (stop-when-fields-decayed 10 Hx (vector3 0 (+ pos)) 1e-3) ) ) If I run it without "and", it works like there was "or" conditional between them (run-sources+ (stop-when-fields-decayed 10 Hx (vector3 0 (- pos)) 1e-3) (stop-when-fields-decayed 10 Hx (vector3 0 (+ pos)) 1e-3) ) Can someone please help me with it? regards, lukas. _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

