Hi,everyone:

   I want to pass the nonlinear parameter chi3 to a procedure,but I
   don't know how to pass this parameter.

I have referenced the followings
http://ab-initio.mit.edu/wiki/index.php/Meep_field-function_examples  .

I know that Ei,Hi(i for x,y,z) are for the fields and Dielectric 
for epsilon. But what is for chi3?

(define (My_proc r ex ey eps chi3)
        (* (* (+ (* ex ex) (* ey ey)) eps) chi3))

Now I want to compute the integral of this function over the whole cell.
(print " The integral of the function:"
  (integrate-field-function (list Ex Ey Dielectric chi3) My_proc)"\n")
                                                   ^^^^^What?
Thanks

-- 
 Flower is beautiful!


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

Reply via email to