Re: [Meep-discuss] help for 3D MEEP

2019-07-31 Thread Ardavan Oskooi
On 7/31/2019 1:42, Massimo Moccia wrote: I want to simulate a 3D periodic unit cell and calculate the reflectance spectrum. The geometry is a 50nm thick metallic cross (far from plasmonic frequency range) on infinite thick silicon substrate. Starting from documentation on MEEP website and from

[Meep-discuss] help for 3D MEEP

2019-07-31 Thread Massimo Moccia
Dear all, I am new in MEEP (python scripts) and I need your help. I want to simulate a 3D periodic unit cell and calculate the reflectance spectrum. The geometry is a 50nm thick metallic cross (far from plasmonic frequency range) on infinite thick silicon substrate. Starting from documentation on

[Meep-discuss] Help understanding mode decomposition

2019-03-17 Thread Shaun Lung
Hi all, I'm currently working with a toy model to understand mode decomposition, of a Z-Y symmetrical block on top of a symmetrical substrate. The structure is as such: Halving computational cell along direction y Halving computational cell along direction z Working in 3D dimensions. Computational

Re: [Meep-discuss] help on cond and define

2018-04-17 Thread Christopher Hogan
Hi, You might try defining your variables outside of the conditional statements, and then (set! ...) them within the conditionals instead of calling (define-param ...) within conditionals. Chris On Tue, Apr 17, 2018 at 4:08 AM, leonard Monniello < leonard.monnie...@u-psud.fr> wrote: > Dear

[Meep-discuss] help on cond and define

2018-04-17 Thread leonard Monniello
Dear kind meepers, I used to run a code that was working quite fine, but returns now an error. The code part of the code that is not working is in the form: /(define-param band? false) // //(cond     ((equal? band? false)    (define-param supercell-x 80)) // //    (else (define-param

[Meep-discuss] help

2017-05-08 Thread Johnny Sigman
Please unsubscribe me. It doesn't seem to work on the web portal On 05/08/2017 12:00 PM, meep-discuss-requ...@ab-initio.mit.edu wrote: Send meep-discuss mailing list submissions to meep-discuss@ab-initio.mit.edu To subscribe or unsubscribe via the World Wide Web, visit

[Meep-discuss] help: set_epsilon in c++

2016-12-19 Thread Sendy Phang
Hi, In my Meep c++ script, I tried to use set_epsilon and set_mu based on my derived material_function class. But it seems that the set_epsilon in the structure class does not recognize the overloaded eps member function. I made the simplified case only for set_epsilon below. Kind regards,

Re: [Meep-discuss] help for calculation of transmission and reflection of photnic crystals slabs

2015-02-17 Thread Filip Dominec
Hi, Saeid, your task has been perhaps done by somebody else, please take a look at https://timsaucer.wordpress.com/2013/04/30/building-l3-photonic-crystal-cavity-in-meep-1-finding-mode/, http://comments.gmane.org/gmane.comp.science.electromagnetism.meep.general/10,

[Meep-discuss] help for calculation of transmission and reflection of photnic crystals slabs

2015-02-14 Thread Saeid Gholami
Dear prof. JohnsonI try to compute the reflection and transmission spectra for Photonic crystals slabs but I could not. please help me and other Meep user.I ask you to give us a input file or example of 3D calculation to simulate the Photonic crystals slabs. please help us. Thanks a lot.

[Meep-discuss] help about how to use loop in setting geometry

2014-09-28 Thread gump-me
Hi meep users, I am trying to define a structure through loop. However, when i run the simulation, some errors occurred, such as ERROR: Wrong type (expecting pair): #unspecified. And I'd like to know the usage of loop in defining a structure. I attach my codes below and really appreciate any

Re: [Meep-discuss] Help! h5topng won't run or compile on Mac OS X. is there a fix? or an alternative?

2014-09-10 Thread M A Lewis, Ph.D.
the png_ptr issue might be an issue with libpng 1.6 i recommend trying to compile against libpng 1.4 h5topng works fine for me under 10.9.4. mlewis On 8/22/2014 12:54 PM, Levit, Creon (ARC-D) wrote: running h5topng version 1.12.1 on MaC OS X 10.9.4 gives bus errors and segmentation

[Meep-discuss] Help! h5topng won't run or compile on Mac OS X. is there a fix? or an alternative?

2014-08-22 Thread Levit, Creon (ARC-D)
running h5topng version 1.12.1 on MaC OS X 10.9.4 gives bus errors and segmentation violations, depending on args: $ h5topng -V h5topng 1.12.1 by Steven G. Johnson... $ h5topng -S3 eps-00.00.h5 Bus error $ h5topng -t 0:329 -R -Zc dkbluered -a yarg -A eps-00.00.h5 ez.h5 Segmentation

[Meep-discuss] help!!!

2013-05-13 Thread LErmeng
Hello everyone, I want to simulate a model in Geophysics . I only care about the conventional conductivity σ. According to the NOTE of Conductivity and complex ε in the Materials in Meep . I compute the σD , but I didn't get the right answer. And I get confused with σ and σD . And when I do

[Meep-discuss] Help about light wave with incident angle

2011-12-25 Thread Hongyi Mi
Dear All, I am trying to simulate a transmission for a lens structure with a incident angle by MEEP. I have written a code in which the light wave goes from top to bottom (in Y direction) and with a pi/6 incident angle. But I am not sure if it is correct. If OK, could you give me any advice

[Meep-discuss] help

2011-09-20 Thread 翟慎强
HI everyone, I am a new user of meep. Recently I want to use meep to calculate transmission spectrum of gold hole array on a semiconductor. But I failed. The structure should generate surface plasmons and peak wavelength of transmission spectrum can be calculated from the the equation(3)

[Meep-discuss] help with setting geometry

2011-09-06 Thread Silviu Popescu
Hi, Can someone explain why don't I get an uniform structure as I expected from the code bellow (epsilon image attached): (set! default-material ( make dielectric (index ( - LN 0.001 (let loop ((n 0))  (if (= n 100)   (begin     (set! geometry         (append geometry             (list   

[Meep-discuss] help for using meep-mpi

2011-09-05 Thread Shirin Afzal
Dear meep Users, I use meep software to analysis of two dimensional photonic crystal. for enhancement of speed and decrease time of processing ,I use  the  meep software  in parallel form(with two PC)  by using mpich. but when I use this  command (mpirun  -np14   meep-mpi  name.ctl) to run my

Re: [Meep-discuss] help meep

2011-02-12 Thread Özgür Önder KARAKILINÇ
Hi, zywang you can use 0+1i for complex number i Onder Message: 3 Date: Sat, 12 Feb 2011 14:54:13 +0800 From: zywang1981 zywang1...@163.com Subject: [Meep-discuss] help meep To: meep-discuss meep-discuss@ab-initio.mit.edu Message-ID: 201102121454120987...@163.com Content-Type: text

[Meep-discuss] help meep

2011-02-11 Thread zywang1981
Dear Sir, I have tried to define an param as a complex number, such as t=10+i*8. But I don't know how to describe the imaginary part of the number, for meep don't support i, j, or sqrt(-1). This problem is important for me to solve anisotropic material problem, could anybody give me a

[Meep-discuss] Help regarding MEEP

2011-01-26 Thread Tushar Andriyas
Hi there, I have just started working with meep and was interested in looking at SURFACE WAVES in a dielectric waveguide (grounded). I have tried out a few things like putting in a freq in to generate fields at the end but the energy somehow is not concentrated at the interface. I tried MDM

[Meep-discuss] Help h5opng

2010-09-21 Thread Hideaki Page
Dear All I have encountered a few problems and I was wondering if you could help. 1) I have run the tutorial example for a simple straight waveguide, I have generated the files test1-eps-00.00.h5 and test1-ez-000200.00.h5 However, when I try to view them using h5topng -S3

Re: [Meep-discuss] Help h5opng

2010-09-21 Thread Umenyi Amarachukwu
Dear Hideaki, You will have to include the colormap directory in the command line for it to execute. This has been an old time problem. I don't know if there has been an automatic solution for it. Wish you the best. Amarachi. On 22 September 2010 05:03, Hideaki Page hideaki.p...@gmail.com

Re: [Meep-discuss] Help h5opng

2010-09-21 Thread Steven G. Johnson
On Sep 21, 2010, at 10:21 PM, Umenyi Amarachukwu wrote: You will have to include the colormap directory in the command line for it to execute. This has been an old time problem. I don't know if there has been an automatic solution for it. This was fixed over 2 years ago in h5utils 1.11.1.

[Meep-discuss] [help] ERROR: Wrong type argument in position 2: 0

2010-02-03 Thread Sendy Phang
I ran my program and I got this kind of error when i ran it in terminal by command meep no-bend?=true file_name.ctl. Anyone can explain to me what kind error is it? This is my program --snip- (reset-meep) (define-param sx 20) ; size of cell in X direction

Re: [Meep-discuss] help

2009-09-22 Thread Steven G. Johnson
On Sep 16, 2009, at 11:34 PM, lfwang wrote: How to understand the phrase (/ sy -2)) ? And where I can acquire the algorithm of phrases of like it? This is just the Scheme programming language. There are lots of resources and tutorials about Scheme online; see:

[Meep-discuss] help

2009-09-16 Thread lfwang
Dear Steven and Meep users: Thank you in advance. How to understand the phrase (/ sy -2)) ? And where I can acquire the algorithm of phrases of like it? Please help me. Best regards, Lan-fen Wang Institute of Chemistry, Chinese Academy of Science 2009-09-11 lfwang

Re: [Meep-discuss] help

2009-09-16 Thread neal skinner
It means sy / (-2) or sy divided by -2. This is standard syntax for libctl, the scripting language used by meep. It is based on the Scheme programming language. Several introductions to Scheme can be readily found on the web. Good luck, Neal 2009/9/16 lfwang lfw...@iccas.ac.cn: Dear Steven

Re: [Meep-discuss] help

2009-09-11 Thread G. O. Nikiforov
This is the way you write mathematical operations in the scheme programming language which MEEP uses. Basically (/ sy -2) means - sy/2. Check out this website for more information on the syntax in scheme: http://www.math.grin.edu/~stone/scheme-web/table-of-contents.html Hope this helps, George

[Meep-discuss] help

2009-09-09 Thread lfwang
Dear Steven and MPB users: Thank you in advance. How to calculate the light propagation in a medium of randomly arranged dielectric spheres? And how to design the symmetry points in the first Brillouin zones? Please help me. Best regards, Lan-fen Wang Institute of Chemistry, Chinese

Re: [Meep-discuss] help! MPB installation

2009-05-16 Thread mahmoud hamoud
Hi, you have to use old version of hdf5, at least hdf5-1.6.5 best regards --- On Thu, 5/14/09, BinShao binshao1...@gmail.com wrote: From: BinShao binshao1...@gmail.com Subject: [Meep-discuss] help! MPB installation To: meep-discuss@ab-initio.mit.edu Date: Thursday, May 14, 2009, 6:43 AM hi

Re: [Meep-discuss] help! MPB installation

2009-05-16 Thread Steven G. Johnson
On May 16, 2009, at 12:57 PM, mahmoud hamoud wrote: you have to use old version of hdf5, at least hdf5-1.6.5 No you don't; instructions for how to use a new version are included in the MPB installation manual. Steven ___ meep-discuss mailing

[Meep-discuss] Help required with meep-fields-phase-in-material

2009-05-05 Thread Adarsha Kanchana
Dear Prof. Johnson and Meep users, Elsewhere in the meep-discuss archive it has been mentioned that during the simulations the structure and its eps can be changed dynamically using the function 'meep-fields-phase-in-material'. However I could not find a manual or any wiki reference describing

[Meep-discuss] Help with flux recording

2009-02-07 Thread Nathan
Meep Users, I am doing a study of frustrated total internal reflection and I'm having trouble recording the right data. For my first run, I'm just trying to generate data that matches theory to validate my model. I'm launching a plane wave in a medium at an air gap, and recording the flux

[Meep-discuss] help with loading geometry from image

2008-07-07 Thread Vinodkumar Saranathan
Dear meep-users, I was wondering if someone could explain how one can load the geometry of the dielectric from a digital TEM image file. I am tring to model a 2D hexagonal lattice and a 2D disordered lattice. For the former I can simply using the geometry class to define geometry but for the

[Meep-discuss] help with output-field function

2008-06-03 Thread Seong Kyu Kim
Dear meep users: In my posting of June 2, 2008, Averaging E2 over time period , the ctl file had a strange dimension. But even after correcting it, the code does not write the averaged h5 output correctly. Problem seems to be (output-field function). Below I wrote a test ctl file, the

[Meep-discuss] help me.. c++ how set flux plane in fiber?

2008-03-19 Thread 윤재순
How setting flux plane in cylinder... I want to obtain spectra in fiber bragg grating so I calculate in cylinderical coordinate but i difficault in flux shape Meep example explained only flux box in fiber that is not good for me. flux plane 2D (R) flux

[Meep-discuss] Help!! segmentation fault in EXAMPLE program!!

2008-03-04 Thread Yunsong,ZHAO
Dear meep users: I tried the example program in C++ Tutorial but I got a segmentation fault. gdb result: Program received signal SIGSEGV, Segmentation fault. 0x08049dcd in meep::boundary_region::~boundary_region() I am a newbie here. Have you ever met this problem? What is

[Meep-discuss] HELP me with the output

2008-01-21 Thread shiv chawla
Hello Everyone I am trying to simulate propagation of gaussian pulse in a dielectric slab. I have added PML boundary on the right edge (at the end of computational domain)..I am interested in observing Electric Field at any given point however I see the same pulse several times in the output

Re: [Meep-discuss] HELP me with the output

2008-01-21 Thread Manoj Rajagopalan
One of the reasons for seeing a pulse multiple times could be reflections. In your case, your PML is 2 cells wide (thickness is 0.1 at resolution of 20). How about making your PML thickness 1.0 instead? Your pulse could be bouncing back and forth between the two Y walls inside your dielectric.

[Meep-discuss] Help!

2008-01-13 Thread Mani Chandra
HiI'm trying to install all the requisite files,libs etc..into a directory in my home .Now suppose I installed HDF5 in this directory,how do I make the ./configure script of h5utils search for the requisites in this particular folder and not my /usr/local/bin/... etc cause I've installed there too

Re: [Meep-discuss] Help!

2008-01-13 Thread Manoj Rajagopalan
In your meep unpack dir, run ./configure --help Look at the documentation for CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS. You might just need to set CPPFLAGS and LDFLAGS but if that doesn't work try setting the others too to point to the structure inside your home dir. On the gcc command line

Re: [Meep-discuss] Help!

2008-01-13 Thread Manoj Rajagopalan
I forgot to add, setting CPPFLAGS etc on the command line should initialize the string of options passed to gcc during the make phase - these should be options first passed to the gcc invocation on the command line. You can confirm this by searching config.log for the exact line. So gcc should

[Meep-discuss] Help needed!

2008-01-12 Thread Mani Chandra
Hihow do I make ./confgure of MEEP to not use libctl and guile.Could someone tell me if there are any switches that need to be added? Get the freedom to save as many mails as you wish. Click here to know how. ___ meep-discuss mailing list

Re: [Meep-discuss] Help needed!

2008-01-12 Thread Manoj Rajagopalan
./configure --without-libctl This should work. This will only spit out libmeep.a and no meep executable in the libctl/ subdir. cheers! Manoj Mani Chandra wrote: Hi how do I make ./confgure of MEEP to not use libctl and guile.Could someone tell me if there are any switches that need to be

Re: [Meep-discuss] Help needed!

2008-01-12 Thread Manoj Rajagopalan
If you have super-user access to your machine then installing guile-devel, libctl and libctl-devel will correct dependency issues. Using the MEEP libctl front-end is great for prototyping your program. If you want to bypass these because of issues with configure then try to look for libctl

[Meep-discuss] Help!

2008-01-12 Thread Mani Chandra
Hey!I did ./configure --without-libctl and it worked! but when I tried to compile the first example program it gives the following errors.../usr/local/lib/libhdf5.so: undefined reference to `pthread_equal'/usr/local/lib/libhdf5.so: undefined reference to `pthread_setcancelstate'Appreciate your

[Meep-discuss] Help!

2008-01-12 Thread Mani Chandra
HiI have compiled meep without libctl but with hdf5.But I get the following error on trying to compile the first example problem in the C++ tutorial...[EMAIL PROTECTED] /usr/home/mc/MEEP files]# g++ `pkg-config --cflags meep` test1.cpp -o test1 `pkg-config --libs meep`test1.cpp: In function `int

[Meep-discuss] Help with flux/flux-in-box

2007-10-10 Thread Rob
I'm having trouble understanding the difference between normal flux commands (add-flux) and the flux-in-box command. As far as I can tell, they can both be used to compute the flux through a plane or line. From reading archived questions, it seems that flux-in-box is usually used with a fixed

[Meep-discuss] help needed for resolution problems

2007-09-18 Thread André Siegel
Dear meep users, I have a question about dispersive media and resolution. If I use the attached control-file, the results obtained for a resolution of 100 seems to be ok, whereas for a resolution of 125 - nothing else is changed - fields diverge. And again for a resolution of 150 results seem

[Meep-discuss] Help, how can I get a titled waveguide using the meep

2007-09-11 Thread fanguofang
Thanks, but I use the shift-geometric-object ,It can not work,what is wrong with my code: (set! geometry-lattice (make lattice (size 16 8 no-size))) (set! geometry (shift-geometric-object (make block (center 0 0 ) (size infinity 1 infinity) (material (make dielectric (epsilon 12

Re: [Meep-discuss] Help, how can I get a titled waveguide using the meep

2007-09-10 Thread Steven G. Johnson
On Thu, 6 Sep 2007, ·¶¹ú·¼ wrote: I am a new user of the meep.I want to do a wo-dimensional calculation about the tilted waveguide(similar to the Y-branch Waveguide ) using meep, I try to use the block,but I can not get the |geometric-object.Please help me to give the codes about the tilted

Re: [Meep-discuss] help on flux calculation

2007-08-08 Thread Steven G. Johnson
On Wed, 8 Aug 2007, Thomas Paul wrote: I'm trying to calculate the energy-flux of a propagating electromagnetic field via Meep. Therefore, I want to track the calculated energy going through some specific cutting plane every certain time intervals (a test ctl-file is attached below). So I

RE: [Meep-discuss] Help on harminv at multiple points

2007-04-02 Thread #YIP CHAN HOE#
vectors. While on the other hand, I need the harminv output: w, field amp, Q, etc. regards Chan-Hoe -Original Message- From: matt [mailto:[EMAIL PROTECTED] Sent: Mon 4/2/2007 1:39 PM To: #YIP CHAN HOE# Cc: meep-discuss@ab-initio.mit.edu Subject: Re: [Meep-discuss] Help on harminv