Hi again, went to quickly with my last reply, the function I meant (and that
seems to work) is:
(define (my-material-func p)
(if (> (vector3-y p) (/ (cos (* (vector3-x p) pix2)) (* 2 (/ 1
pitch)))) (make
dielectric
(epsilon nbeps))
(make dielectric
(epsilon xeps)
(polarizations
(make polarizability
(omega 0.73) (gamma 0.001) (delta-epsilon 0.35))))))
It is still difficult from the output to figure out if that function returns the
right material though, but again there is no error. Please let me know if this
is wrong or if there is a better way to do this. Thanks again for your help.
Nic
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss