I want to define epsilon as a function of position. Here is the code:
(define (myfunc p) (vector3 1 1 1) ) (define mat (make material-function (epsilon-func myfunc) )) (set! geometry (list (make cylinder (material mat) (center 0 0) (radius 2)(height infinity)) )) Please help with an example or same. _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss