Re: [Meep-discuss] Calculating complex epsilon in MEEP 1.2

2013-05-15 Thread Filip Dominec
Hi, Kahli, few months ago, I needed to run some time-domain and frequency-domain simulations on the same structure, which contained dispersive materials. As MEEP does not accept dispersive model in frequency-domain computations yet, I had to compute the value of complex epsilon for each frequency

[Meep-discuss] Custom-src error wrong type to apply

2013-05-15 Thread James P Seddon
Hi I am trying to implement a tophat function as a custom source, I have used the custom-src to implement a sinc function with respect to time but I am running into trouble creating the code to account for the t=0 step to prevent division by zero. Could anyone help me out with this function, I