Dear Steven,recently I had submitted a query regarding the pulse source. in 
your replyyou talked about difference between the time step and time unit. I am 
thankful for the reply.here I am sending you the ctl code . I have two 
questions:1. i want a single pulsed source. can i make it wtth continuous souce 
function.if yes, how? in the ctl code that follows i tried to change source to 
continuoussrc function. i have used in source definition width =0.1 which means 
approximately 100 time steps.but after 100 time steps the source does not 
vanish. how do i get a single pulse source.2. i think i am able to get a single 
pulse sorce with guassiansrc fucntion.but i want to work with nearly a single 
frequency. My requirement is a single nearmonochromatic femtosecond pulse. is 
guassiunsrc suited for my use? CTL code:(set! geometrylattice (make lattice 
(size 2 2 nosize)))(set! geometry (list(make block (size 0.5 0.5)(center 
00)(material(make dielectric (epsilon 1.5))))))(set! sources (lis
 t (make source (src (make guassiansrc (frequency 1.53233)(width 
0.1)))(direction Y) (component Hz) (center 0 0 0) (starttime 0) (endtime 0.1) 
(size 0 0 0))))(set! pmllayers (list (make pml (thickness 0.1))))(set! 
resolution 100)(runsources+ 5 (atbeginning outputepsilon);(atevery .5 
outputefieldx)thank youprabhat(atevery .5 outputefieldy)) ;(atevery .5 
outputdpwr))Dear meepdiscuss ! Get Yourself a cool, short @in.com Email ID now!
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to