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
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
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
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
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
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
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,
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,
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.
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
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
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
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
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
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)
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
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
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
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
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
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
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
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.
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
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:
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
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
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
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
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
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
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 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
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
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
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
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
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
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.
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
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
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
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
./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
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
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
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
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
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
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
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
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
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
53 matches
Mail list logo