Re: [Meep-discuss] Electric field intensity

2010-11-17 Thread David Domenech
Hi Milan, I've tried you function and it works. Have you tried to specify the dataset (real part) when converting to png: h5topng -z 0 -d e2.r myfile.h5 Because if you don't specify it what you get is a black picture. Best Regards. David. José David Doménech Gómez Optical and Quantum

Re: [Meep-discuss] multidimensional bash loops for MEEP

2010-10-25 Thread David Domenech
Hi Marco, You need to escape the underline character by adding a backslash or just replace it by another one: meep s=$y r=$x script.ctl | tee out\_s$y\_r$x.out Regards. David. > Hello everyone, > > I would like to call MEEP with all combinations of a higher-dimensional > array but apparentl

[Meep-discuss] Re: Width of the Transmission Monitor - Meep example

2009-03-17 Thread David Domenech
Hi Asa, I think your end condition in run-sources+ is not being useful and your simulation ends before the pulse arrives to your flux plane. (you can check it by extracting the fields to png files with h5topng command). That's why you see 0 values for the flux. Try to run your simulation for a fix

[Meep-discuss] Unknown source of error

2009-02-02 Thread David Domenech
Hi Nathan, Just remove the (set! n (sqrt eps))) and (set! n 1) sentences in the geometry definition. Regards. I am trying to get a model for a source that launches at oblique angles > while embedded inside a medium. I have found the great code in the > archives for launching at arbitrary angl

[Meep-discuss] Question on h5tovtk

2008-06-19 Thread David Domenech
Dear Alex, You can decide which dataset extract with the command 'h5tovtk' using the modifier "-d" followed by the name of the dataset. By default extracts the first dataset that in your case is 'ex' (look at the man page) To extract 'Ey' dataset for instance: >> h5tovtk -t 150 -o test.vtk -d ey

Re: [Meep-discuss] error message for 3d structure

2007-05-20 Thread David Domenech
omputation. Regards David Domenech Gomez Optical & Quantum Communications Group Universidad Politecnica de Valencia www.gco.upv.es ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Could not determine normal direction for given volume

2007-05-20 Thread David Domenech
/Meep_Reference#flux-region You just have to add to the flux definition '(direction Y)' for instance and that's all. Regards. David Domenech Gomez Optical & Quantum Communications Group Universidad Politecnica de Vale

[Meep-discuss] Arbitrary shape.

2006-10-31 Thread David Domenech
Dear Steven,As I read on this discuss list you've talked about create arbitrary shapes by using the material-function subclass.Could you give me any hint to use that class??I'm trying to do a parabolic horn. But I don't have any idea what kind of arguments must I pass to that subclass and how to de

[Meep-discuss] Normalization run for transmision spectrum

2006-09-14 Thread David Domenech
ed with the expected. Could you tell me what will be the correct way to normalize? Thanks David Domenech. My ctl file --->>> (set! geometry-lattice (make lattice (size 6 8 10))) (define-param norm? false) (set! geometry (if norm? ; geometry for normalization run (list (make block (center

[Meep-discuss] Normalization run for transmision spectrum

2006-09-14 Thread David Domenech
Hi Steven and everyone,I'm trying to find transmision and reflection spectrum (on a 3D lattice) of a Shallowly-etched waveguide as the attached .I've tried the normalization run filling all the space with air or with the core's material, and the results I get don't acomplished with the expected.Co