[Meep-discuss] Finding kmax and kmin for my drude model.

2017-07-20 Thread Prashant Srivastava
I want to make a lossy drude material. Here's my code: (set! default-material (make dielectric (epsilon 10.96) (E-susceptibilities (make drude-susceptibility (frequency 1e-5) (gamma 53) (sigma 4.78e7) I want to find kmax and kmin to find material dispersion. Please

[Meep-discuss] Epsilon vs frequency graph for lorentzian material in meep

2017-07-19 Thread Prashant Srivastava
Hi, I have a lorentzian model in meep, How can I get permittivity value for some frequency range? kindly help! Even a hint or clue is appreciated Prashant ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bi

[Meep-discuss] (no subject)

2017-07-08 Thread Prashant Srivastava
(set! k-point 1 1 0) will set bloch vectors as (1 0 0) (0 1 0) or (1 1 0)? What is the difference between (set! k-point 0 0 0) and (set! k-point 1 1 0) ? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/m

[Meep-discuss] ez file printing NaN giving black png.

2017-06-26 Thread Prashant Srivastava
The output file is printing black images. I converted h5 to txt to check, the field values are NaN. Help me please. Here is my code: (set! geometry-lattice (make lattice (size 10 10 no-size))) (set! pml-layers (list (make pml (thickness 1 (set-param! resolution 30) (set! geometry (list

[Meep-discuss] Singularity in eps-func?

2017-06-25 Thread Prashant Srivastava
In my eps-func the structure's size is increasing with time. Any suggestions? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] TE011 mode field distribution in cylindrical resonator

2017-06-24 Thread Prashant Srivastava
Hello everyone, I want to plot the electric and magnetic field distribution of TE011 mode in a cylindrical resonator with mode frequency around 19.45GHz. In my code when I am setting the source as Hz and get output as hfield-z, I get the right result and right distribution of field. However wh

[Meep-discuss] epsilon-diag in epsilon func

2017-06-23 Thread Prashant Srivastava
I want to define an epsilon-func to produce epsilon-diag and epsilon-offdiag for material. Please help! (define myeps (lambda (p) (sqr (+ (* (- nglass nair) (sqr (sin (* 2 (vector3-y p) (vector3-x p) nair)) )) (set! geometry-lattice (make lattice (size 5 5 no-size))) (set! geome