Dear MEEP users!
          I have simulated a dispersive nanosphere. Now i am trying to 
calculate the Near field Enhancement and the scattering cross section. Sine the 
simulation is in 3D so its a bit difficult for me to calculate the Near field 
enhancement and scattering cross section. I have attached my MEEP code with the 
email. Please someone tell me how to do this and if possible then write a 
script for me because its very urgent. I will be very thankful to him/her.
 
 
MEEP Code:
 
(set! eps-averaging? false)
(set! geometry-lattice (make lattice (size 1 1 2)))
(set! geometry (list(make sphere (center 0 0 0) (radius .3) 
(material (make dielectric (epsilon 1)
(polarizations
(make polarizability 
(omega 1e-25)
(gamma .05977)
(sigma 3.8225e46))))))))
(set! pml-layers (list (make pml (thickness 0.3)))) 
(set! sources (list 
(make source 
(src(make gaussian-src (wavelength 0.7) (fwidth .25)))
(component Ey)
(center 0 0 -.75)
(size 1 1 0)
)
)
)
(set! resolution 30)
(run-sources+ (stop-when-fields-decayed 30 Ey (vector3 0 0 -2) 1e-4)
(to-appended "y-efield" output-efield-y)
)
 
Best Regards,
Jack                                      
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to