[Meep-discuss] 1D Fabry-Perot

2010-02-08 Thread Kristian Medri
Dear Meep community, I would appreciate some input as to why the 1D Fabry-Perot only works with Ex. The code below is for the example from: http://ab-initio.mit.edu/wiki/index.php/Meep_C-plus-plus_Tutorial The tutorial states that "For a 1D system, Meep considers a computational cell along the z

[Meep-discuss] changing the basis

2010-02-08 Thread pavan jimmy
Hello all, I want to create a hexagonal block using MEEP. My ctl file goes as follows: (define-param l 8.09); length of the wire (define-param r 0.08); radius of the wire (set! geometry-lattice (make lattice (size 20 0.5 0.5))) (define C->L (compose cartesian->lattice vector3)) (define m (make

Re: [Meep-discuss] how to set a particular model function for your dielectric response?

2010-02-08 Thread Matteo Bassi
Thanks Mischa, got it. I got my function as a sum of Lorentzians but my resonance frequency that I've to set to make it very close to what I want is 6e11, so its really high (3.18 in my Meep units). The simulation in unstable unless I set a really high resolution, which makes it really long, what c

[Meep-discuss] how to set a particular model function for your dielectric response?

2010-02-08 Thread Matteo Bassi
Hi everybody, I read in the stability section of the materials doc (here: http://ab-initio.mit.edu/wiki/index.php/Dielectric_materials_in_Meep#Numerical_stability) that you can set your model function for the dielectric response. How can I do that? I cant find it in the doc thanks Matteo

Re: [Meep-discuss] Integrate CW fields in a finite plane

2010-02-08 Thread Yongsop Hwang
황용섭 Yongsop writes: Sorry to all, for it's my mistake. I thought if I launch a CW for a certain time interval, (integrate-field-function) would integrate both in time & space, which is wrong thought. It integrates only in space, so I will try to integrate in time with the method in the following