Dear meep users,         I want to calculate the Near field enhancement of a 
sphere with 25nm radius (0.25 in meep units) at a single point. For this i 
defined a volume region around the sphere by using th (in-volume) command. The 
sphere is placed in the center of the computational cell. 
(set! sources    (list 
            (make source 
                (src(make continuous-src (wavelength 5.28) (width 2.64)))
                (component Ex)
                (center 0 0 -1)
                (size 2.5 2.5 0)
            )
        )
)(run-until 100
(at-beginning output-epsilon)
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ex" (at-end 
output-efield-x)))
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ey" (at-end 
output-efield-y)))
(in-volume (volume (center 0 0 0) (size 0.25 0 0)) (to-appended "ez" (at-end 
output-efield-z)))
)
I obtained the a very small value of the near field enhancement. Can somebody 
tell me is there anything wrong with the code? I am a little doubtful about the 
in-volume. Please somebody clarify it.
Thanks,Best Regards,Hogen                                         
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to