Re: [Meep-discuss] strange behavior in output when simulating a gradient index profile

2010-03-10 Thread matt
Is it possible that you have some field instability? If you look at the absolute field values at the "blip," are they huge? Are you certain that your material definition is stable? On Mon, 8 Mar 2010, Aaron Danner wrote: Dear Friends, Below is a ctl file where a medium of gradient i

Re: [Meep-discuss] Continued with hdf5 thing

2010-01-25 Thread matt
I guess your problem is NFS, which doesn't like parallel hdf5. Have a look at some of the related threads on the mailing list: http://www.mail-archive.com/search?l=meep-discuss%40ab-initio.mit.edu&q=NFS Best, Matt On Sun, 24 Jan 2010, Lingyun Wang wrote: I solved this i

Re: [Meep-discuss] HDF5 creating file slow on NFS

2009-12-10 Thread matt
possible. Best, Matt On Wed, 9 Dec 2009, pengchao wrote: Hi all, I am working with meep-mpi which runs on a Linux cluster, and using NFS to share the directory for scripts and output. I found the creating HDF5 file process turned to be very slow, when I set the output directory to the NFS

Re: [Meep-discuss] Tilted beam source

2009-11-16 Thread matt
altogether - Steven is refering to simulations with periodic boundary conditions. There, you can't have broadband, oblique incidence simulations for a single incidence angle. The periodic boundaries force each plane wave to have a separate, unique incidence angle. Best, Matt On Mo

Re: [Meep-discuss] Tilted beam source

2009-11-16 Thread matt
making a loop and creating a large number of sources in the source list. Best, Matt On Mon, 16 Nov 2009, Andrew York wrote: I needed a tilted, pulsed beam in one of my meep simulations, and I noticed a few others on the mailing list have asked for something similar. I decided to make my

Re: [Meep-discuss] what does lambda mean?

2009-10-28 Thread matt
sions here: http://www.gnu.org/software/guile/manual/guile.html#Lambda Best, Matt On Wed, 28 Oct 2009, liu wrote: Hi, I have seen the following ctl file, --- (define mysource (lambda (t) (sin (* 10 t (define cs (list (make source (src (make custom-sr

Re: [Meep-discuss] Centre point of a cone geometry object!

2009-08-12 Thread matt
a test geometry and look at the output. Best, Matt On Wed, 12 Aug 2009, asadollahbaik a. (aa306) wrote: Dear Meep users, Does anyone know where the centre point of a cone is?! I think it is obvious to figure out where is the centre point for a cylinder, sphere, block, ellipsoid, but whe

Re: [Meep-discuss] Output fields at a lower resolution

2009-07-17 Thread matt
I don't think there's a way to do this. If you want only graphics though, then you can use output-png with the -S flag to scale the image to be smaller. Best, Matt On Wed, 15 Jul 2009, Warner Miller wrote: Hi, Is there a way to output fields to an h5 file with a resolu

Re: [Meep-discuss] Polarization losses

2009-06-12 Thread matt
n-box only does boxes. Would it be feasible to approximate the cylinders with a series of boxes, some as small as a pixel, to compute the absorption in the cylinders? I'm guessing that's not the intended use of the tool. Best, Matt On Fri, 15 May 2009, Steven G. Johnson wrote:

Re: [Meep-discuss] bug report - incorrect dataset size

2009-06-12 Thread matt
or the scatter wraps up across the lattice boundary, causing the problems I've described. Maybe it's a useful description for someone :) Kind Regards, Matt On Wed, 10 Jun 2009, matt wrote: Yes, load-minus flux is from a simulation with exactly the same grid size an

Re: [Meep-discuss] bug report - incorrect dataset size

2009-06-10 Thread matt
n the scatterer run a block of metal is placed on top of one of the lattice boundaries. Best, Matt On Wed, 10 Jun 2009, Steven G. Johnson wrote: On Jun 10, 2009, at 8:33 AM, matt wrote: When this happens however, the load-minus-flux fails with the following error: meep: incorrect dataset

[Meep-discuss] bug report - incorrect dataset size

2009-06-10 Thread matt
oblem. Here I have a minimal script that duplicates the problem: http://pastebin.com/f168203b6 I'm using meep version 1.0. Best, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] run time error

2009-06-08 Thread matt
using one cylinder and one call to geometric-object-duplicates, then define several columns by wrapping that in a call to geometric-objects-duplicates (with an s). Best, Matt On Sun, 7 Jun 2009, Tenner S Lee wrote: Hi, I just started using meep in order to do some simulations on pho

[Meep-discuss] geometry behavior of materials

2009-06-05 Thread matt
In a geometry, later entries that overlap previous ones overwrite the epsilon in the region of overlap. Is the same true for the dispersive properties of the material? Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab

[Meep-discuss] error convergence varies depending on source polarization

2009-06-03 Thread matt
1200 (not computed) This isn't related to subpixel smoothing; if I disable that I get similar results. Is this reasonable? Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cg

Re: [Meep-discuss] subpixel averaging and dispersion

2009-05-30 Thread matt
thing besides the resolution which might cause a very slight shift in frequency? The analytic result is a frequency domain method, using the same lorentz model for the perimittivities as the one I input into meep. Best Regards, Matt On Fri, 29 May 2009, Steven G. Johnson wrote: On May 29,

[Meep-discuss] subpixel averaging and dispersion

2009-05-29 Thread matt
rials present? Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Meep-mpi installation help

2009-05-15 Thread matt
Hi Andrew, Check this thread regarding the guile-config error: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00185.html I don't believe there are packages available for the latest meep version. Best, Matt On Fri, 15 May 2009, Andrew Galdes wrote: Hello al

[Meep-discuss] Polarization losses

2009-05-15 Thread matt
ing list but didn't find a relevant example. Is this possible, and are there any examples available of how to do this? Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] frequency scaling in reflection spectrum

2009-02-05 Thread matt
One thing I'm having trouble understanding is why this frequency scaling isn't visible in the libctl transmission coefficient output. Is there something special the meep flux computation does to repair the frequency scaling caused by the gaussian-derivative source? Kind Reg

Re: [Meep-discuss] (no subject)

2009-02-02 Thread matt
Hi, Have a look at this thread: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00412.html Best, Matt On Mon, 2 Feb 2009, Sivan, Yonatan wrote: > Hi Meep users, > > I am relatively new to meep. Could anyone show me how to employ the > perfect-electric-conduc

Re: [Meep-discuss] bug in interpolate procedure

2009-01-30 Thread matt
This is caused by floating point arithmetic. Have a look at this thread: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00978.html Best, Matt On Fri, 30 Jan 2009, Antoine Monmayrant wrote: > Hi everyone, > > I think I found something fishy with the procedure in

[Meep-discuss] frequency scaling in reflection spectrum

2009-01-29 Thread matt
spectra (at least not in my matlab processing of the time data). I'm not sure if this is a bug in meep or if there's something I don't understand in the processing of the time data. Best Regards, Matt e2.png Description: Binary data ___

Re: [Meep-discuss] Oscillation in reflection spectrum

2008-12-08 Thread matt
ng by a factor of 10. Best, Matt On Mon, 8 Dec 2008, Szymon Lis wrote: > Yes. I know that we can observe small oscillation, when amplitude is > small (especially on edge of source spectrum). But even for different > resolutions (even better) I have got oscillations in middle frequenc

Re: [Meep-discuss] make check fails on h5test with lam-mpi

2008-12-07 Thread matt
.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg02231.html that is, it should be if (IF_EXCLUSIVE(am_master(), parallel || am_master())) { not if (IF_EXCLUSIVE(am_master(), parallel || am_master()) { Best, Matt > Hi, matt > > H5Tset_size() in h5file::read or h5file::write throws out

[Meep-discuss] make check fails on h5test with lam-mpi

2008-12-06 Thread matt
When I run make check, on the test "h5test", one of the processes shuts down, consistently. I have an ubuntu package install of lam-mpi as well as h5utils, and am compiling meep-mpi 0.20.3 manually. The repository packages installed are libhdf5-lam-1.6.5-0, libhdf5-lam-dev, liblam4, and lam4-de

Re: [Meep-discuss] Cause of wavelength shifts in Meep?

2008-09-28 Thread matt
27;s a nonideal solution because it wastes a simulation. Be careful though - I'm not sure if the pulse gets shifted in frequency or if it is actually _stretched_ in frequency. Maybe someone who knows more could weigh in. Best, Matt On Sun, 28 Sep 2008, Andreas Francke wrote: >

Re: [Meep-discuss] Cause of wavelength shifts in Meep?

2008-09-27 Thread matt
e way one would expect them to, but this seems to cause some stability issues. Kind Regards, Matt On Sat, 27 Sep 2008, Andreas Francke wrote: > Dear Steven and list, > > I'm simulating with Meep resonant cavities like add-drop ring and disk > resonators and obtain the resonant sp

Re: [Meep-discuss] measured/externally generated signal as source in meep

2008-09-11 Thread matt
Yes, you can do this. Meep has a subclass of sources called "custom-src", (see the meep reference). (define start 0) (define end 300) (define mysource (lambda (t) (sin (* 10 t (define cs (list (make source (src (make custom-src (src-func myso

Re: [Meep-discuss] shift in fft of meep data

2008-09-04 Thread matt
/000463.html Best, Matt On Wed, 3 Sep 2008, Steven G. Johnson wrote: > On Sep 3, 2008, at 1:19 PM, matt wrote: >> I'm pretty certain that the matlab script is correct. Is there >> something in meep which could be causing the frequency shift? > > No, I can't think

[Meep-discuss] shift in fft of meep data

2008-09-03 Thread matt
something a bit higher (188 THz). I'm pretty certain that the matlab script is correct. Is there something in meep which could be causing the frequency shift? Kind Regards, Matt complete meep script: http://pastebin.com/f40f6a200 matlab fft script: file = hdf5info('pulse

Re: [Meep-discuss] All colormaps missing for h5topng

2008-08-26 Thread Matt Eichenfield
io.mit.edu/pipermail/meep-discuss/2008-August/002067.html <http://ab-initio.mit.edu/pipermail/meep-discuss/2008-August/002052.html> to which I've posted the same reply. Matt On Wed, Aug 20, 2008 at 7:45 PM, Matt Eichenfield <[EMAIL PROTECTED]> wrote: > To whom it may concern

Re: [Meep-discuss] problem with h5util

2008-08-26 Thread Matt Eichenfield
Sorry, I made a mistake. The directory for the colormaps should be /usr/share/h5utils/colormaps, whereas I typed /user/share/... The command is then h5topng -c /usr/share/h5utils/colormaps/foomap foo.h5 On Tue, Aug 26, 2008 at 8:28 AM, Matt Eichenfield <[EMAIL PROTECTED]> wrote: >

Re: [Meep-discuss] problem with h5util

2008-08-26 Thread Matt Eichenfield
io.mit.edu/pipermail/meep-discuss/2008-August/002052.html to which I've posted the same reply. Matt On Tue, Aug 26, 2008 at 5:01 AM, andika asyuda <[EMAIL PROTECTED]>wrote: > good night meep user. my name is andika asyuda > > I have a question about h5util for ubuntu >

Re: [Meep-discuss] k-vector selective detector

2008-08-21 Thread matt
diffracted mode? Kind Regards, Matt On Wed, 20 Aug 2008, neal skinner wrote: > Matt, > > Since you are asking about diffracted orders, I assume you are talking > about a periodic structure. The concept of the spatial Fourier transform > comes from a branch of optical science

[Meep-discuss] All colormaps missing for h5topng

2008-08-20 Thread Matt Eichenfield
just remove h5utils using apt-get and "manually" install version 1.11? Is this a known issue in versions earlier than 1.11 as well? Thanks, Matt Eichenfield ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] k-vector selective detector

2008-08-20 Thread matt
gives the time-dependent field amplitude for the m-th mode as a Fourier sum, but I don't understand how to use this with meep. Thanks, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Meep:no match

2008-08-18 Thread matt
you need to put a "\" in front of "?" in the shell command line, like this: ~> meep a\?=true file.ctl That will get rid of the second error. On Mon, 18 Aug 2008, asadollahbaik a. (aa306) wrote: > Dear Meep users. > > I am doing the transmission and reflection simulation for a pattern >

Re: [Meep-discuss] ask for your help

2008-08-12 Thread matt
), with kx equal to 1/sx, and ky equal to 1/sy. You can investigate whether your simulation is setup correctly by visualizing the epsilon function. Your unit cell should like it could tessellate into your full slab. Best, Matt On Tue, 12 Aug 2008, Ryan Hao wrote: > Hi, Matt, > >

Re: [Meep-discuss] Two questions about the example "holey waveguide" in MEEP manual

2008-08-11 Thread matt
Ryan, See this message for an example: http://osdir.com/ml/science.electromagnetism.meep.general/2007-12/msg00023.html In 3D, you would also add pml in the Z direction. Best, Matt On Tue, 12 Aug 2008, Ryan Hao wrote: > Dear Professor, > Sorry, the error message is &q

Re: [Meep-discuss] Reflection calculation

2008-08-06 Thread matt
gh by using the stop-when-fields-decayed feature. It may also >> help to use a more narrowband excitation. >> >> Hopefully that corrects it for you. If the simulation time becomes too >> long, you can try to gradually reduce all of those distances until the >> point

Re: [Meep-discuss] Reflection calculation

2008-08-05 Thread matt
long, you can try to gradually reduce all of those distances until the point where those errors become significant. Best, Matt On Tue, 5 Aug 2008, Minh Nguyen Huu wrote: > > Hi, > > I've ran into a strange problem when trying to calculate the > reflection spectrum

Re: [Meep-discuss] Using perfect metal in C++ interface

2008-08-05 Thread matt
Hmm, good question. This is also not clear to me, and it doesn't seem to be documented very well. I tried to backtrack to see how the libctl interface does it, but I didn't get very far. On Tue, 5 Aug 2008, Jefferson Thomas wrote: > Thank you for your answer matt. I do

Re: [Meep-discuss] Using perfect metal in C++ interface

2008-08-05 Thread matt
On Mon, 4 Aug 2008, Steven G. Johnson wrote: > On Aug 4, 2008, at 4:42 PM, matt wrote: >> Return a value from your eps function which is large and negative. >> -1e20 should work. > > Or better yet, -HUGE_VAL (which is defined in m

Re: [Meep-discuss] Using perfect metal in C++ interface

2008-08-05 Thread matt
> 2008/8/5 Steven G. Johnson <[EMAIL PROTECTED]>: >> On Aug 4, 2008, at 4:42 PM, matt wrote: >>> Return a value from your eps function which is large and negative. >>> -1e20 should work. >> >> Or better yet, -HUGE

Re: [Meep-discuss] Using perfect metal in C++ interface

2008-08-04 Thread matt
Return a value from your eps function which is large and negative. -1e20 should work. For metallic computation domain boundaries you can do this: structure s(vol, eps); fields f(&s); f.set_boundary(High, X, Metallic); f.set_boundary(Low, X, Metallic); f.set_boundary(H

Re: [Meep-discuss] Simulation of 3D waveguide

2008-07-15 Thread matt
Ack, ignore my response; I just noticed that -0 recenters the origin to the center of the dataset. On Tue, 15 Jul 2008, matt wrote: > > > > I haven't looked at your code closely, but I have an idea about what > could be wrong. > > when you ask h5topng to give you

Re: [Meep-discuss] Simulation of 3D waveguide

2008-07-15 Thread matt
e y dimension, and pick a different slice in that range, corresponding to the middle of your waveguide (e.g., y 18). best, matt On Tue, 15 Jul 2008, Tobias Glahn wrote: > Hello meep-discussion list, > > I'm trying to simulate a 3D rectangular waveguide (one could say I > should

Re: [Meep-discuss] Question on PML

2008-07-02 Thread matt
e is that the scattered fields and total fields aren't actually stored separately, so you don't have access to the scattered field inside the total field region. Finally, having so many sources all around the computation domain make the simulation very slow. Best, Matt On Wed, 2 Jul

[Meep-discuss] pmc material

2008-06-25 Thread matt
Hello, I know from the mailing list that scalar permeabilities are not yet implemented. Does that also mean there is no way to define geometric objects like blocks or cylinders having a PMC material? Kind Regards, Matt ___ meep-discuss

Re: [Meep-discuss] time-averaged magnetic field amplitude

2008-06-19 Thread matt
sh script which operates on two h5 files at a time. I tried putting a (= 0 (meep-my-rank)) in the step function to serialize this, but then meep-mpi deadlocked as warned in the documentation. On Wed, 18 Jun 2008, matt wrote: > > > > > Neat, thanks! > > For the time avera

Re: [Meep-discuss] time-averaged magnetic field amplitude

2008-06-18 Thread matt
" " fname "") step-func) to-do)) ;; otherwise, add the output file to fname ((convert-complex-h5 true (string-append "h5math -e \"d1 + sqrt(d2*d2 + d3*d3)\" " fname " "

Re: [Meep-discuss] Input variable 'm' for cylindrical simulations

2008-06-17 Thread matt
Hi Dr. Goldwin, have you had a look at the tutorial here already?: http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial/Ring_resonator_in_cylindrical_coordinates m [number] For CYLINDRICAL simulations, specifies that the angular dependence of the fields is of the form e

[Meep-discuss] time-averaged magnetic field amplitude

2008-06-17 Thread matt
etic field at every step over a period, then post-process all the output with matlab, but it would be much nicer if I could ask meep to do the accumulation itself. Any suggestions? Best, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mi

Re: [Meep-discuss] run interruption/field decay

2008-06-11 Thread matt
That makes complete sense :)I'm not sure why I hadn't thought of this. I tried as you suggest, and it works perfectly. Thanks, Matt > > On Wed, 11 Jun 2008, Mischa Megens wrote: > >>> Has anyone else had this problem? Any ideas on a solution? >> I

[Meep-discuss] run interruption/field decay

2008-06-11 Thread matt
ay. Has anyone else had this problem? Any ideas on a solution? Best, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Absorption in an intrinsic germanium layer of a photodiode

2008-06-04 Thread matt
es to see whether the losses converge when you increase the resolution, play with the source settings, increase the pml thickness, etc. Best, Matt On Tue, 3 Jun 2008, Mario Cao wrote: > Hello, > > I send one question the 8th April and I have not got any reply. > I would be

Re: [Meep-discuss] E and H for the "same point"

2008-06-02 Thread matt
Do these texts answer your question? http://ab-initio.mit.edu/wiki/index.php/Meep_Introduction#Finite-difference_time-domain_methods http://ab-initio.mit.edu/wiki/index.php/Meep_Introduction#The_illusion_of_continuity_in_Meep Best, Matt On Tue, 3 Jun 2008, Juntao Xi wrote: > Hi, Steven

Re: [Meep-discuss] Band structure question

2008-05-09 Thread matt
ayes.csit.fsu.edu/wiki/index.php/FAQ#How_do_I_run_MrBayes_MPI_.28parallel.29_version_in_the_background_on_an_SGI_machine.3F Best, Matt On Thu, 8 May 2008, Murtaza Askari wrote: > Hi All, > > I am really new to MEEP and Linux. When I generate the band structure > using parallel mee

[Meep-discuss] resolution and cell width

2008-05-08 Thread matt
vior to be expected? Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] [Fwd: Re: Metallic boundaries]

2008-02-12 Thread matt
t;, "+Z", and "-Z" to the six sides of a box. If you want an arbitrary waveguide, however, you need to define the surface of your waveguide through your "eps" definition (see tutorial). To make a metallic waveguide, set eps to be very large and negative (-1e20) for

Re: [Meep-discuss] Metallic boundaries

2008-02-10 Thread matt
oundary(High, X, Metallic); Side can be High or Low, Direction X,Y,Z,R, or P, Boundary condition Periodic, Metallic, or Magnetic The most efficient way to define a waveguide is with metallic boundary conditions, which let you trim the computation domain down to a minimum. Cheers, Matt On

Re: [Meep-discuss] plane wave generation (fwd)

2008-01-30 Thread matt
point sources, this should disappear. One thing I didn't understand were the cy and cx parameters. Also, in the first part of your original code you had 4 pixel shift which doesn't appear in the second part. Was there something different? Best, Matt On Wed, 30 Jan 2008, Andr

Re: [Meep-discuss] plane wave generation

2008-01-30 Thread matt
. Best, Matt (define-param phi 45);angle of incidence (define-param freq 4);frequency (define-param fcut 5);cutoff (define-param fw 0.1);frequency width at turning on the source (define Lpml 0.5) ;thickness of the pml (define L 5 ) ;total size of the space (define tfSize 2);edge length of total field

Re: [Meep-discuss] bug in output-png+h5 with meep-mpi

2008-01-29 Thread matt
incidence. Best, Matt > > PLANE WAVES: > --- > You are working in 2D which means you want a line source in x-y in teh case > of z-invariance. If you want a planewave propagating along z- then you should > have no modulations on the x-y plane. If you want a 3D planewave t

Re: [Meep-discuss] bug in output-png+h5 with meep-mpi

2008-01-29 Thread matt
er message if I learn anything new. I can try the same thing out on a different installation to make sure it's just a fluke. Best, Matt On Tue, 29 Jan 2008, Steven G. Johnson wrote: > On Tue, 29 Jan 2008, matt wrote: >> I noticed some strange behavior in output-png+h5 with meep-mp

[Meep-discuss] bug in output-png+h5 with meep-mpi

2008-01-29 Thread matt
) reproduce the error... As a side question, I never get perfect plane waves with this approach, even if I make the pml thick and let the simulation run for many time steps. Is there something else I should consider? Best, Matt (set! eps-averaging? false) (define-param s 1600) ; the size of the

Re: [Meep-discuss] anisotropy in meep

2008-01-26 Thread matt
alls to set_epsilon() will clobber those values. This means the interface should set inveps only after set_epsilon has been called? 4) Is it possible to set inveps in a way which takes advantage of the existing anisotropic averaging code (which also sets inveps)? These aren't related to this prob

Re: [Meep-discuss] h5topng generates upside down plot

2007-12-28 Thread matt
search the complete archives here: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/ Happy New Year, Matt On Thu, 27 Dec 2007, Puck Ja wrote: > Hi, > > I am new to MEEP and have found one issue with h5topng. After simulation, > the field snap shot was generated with the command

Re: [Meep-discuss] plane wave generation

2007-12-14 Thread matt
L in the X direction, and the boundary of computatation is adjusted accordingly. The source plane extends from the left to the right of the cell. Also, it may be more convenient for you to use output-png instead of h5topng at the command line. Best, Matt On Fri, 14 Dec 2007, Anatol

Re: [Meep-discuss] Harminv doubt

2007-11-29 Thread matt
Hi Daniel, Check this post: http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00161.html Best, Matt On Thu, 29 Nov 2007, Dani Infante wrote: > I have been using harminv to calculate the frequencies and Q factors of the > modes in a photonic crystal cavity and I have got s

[Meep-discuss] anomaly in TEM parallel plate waveguide

2007-11-27 Thread matt
tallic blocks for the parallel plates, instead of setting the High and Low X boundaries to Metallic, but the result was the same. Is this a bug? Kind Regards, Matt xslice_t200.png Description: t200 xslice_t2000.png Description: t2000 ___ meep-discus

Re: [Meep-discuss] surface plasmon

2007-11-04 Thread matt
Hello, Meep still does some averaging, even when you set eps-averaging? to false. There's a description of how to disable this averaging here: http://article.gmane.org/gmane.comp.science.electromagnetism.meep.general/726 Best, Matt On Sun, 4 Nov 2007, huoliangcl2 wrote: > Dea

Re: [Meep-discuss] Spatially varying sigma

2007-10-12 Thread matt
x27;m assuming that my example works because it runs and gives me an end result, but I haven't actually investigated whether the values of epsilon and sigma change as a function of position. Best Regards, Matt On Fri, 12 Oct 2007, Benjamin M. Schwartz wrote: > matt wrote: >> You proab

Re: [Meep-discuss] Spatially varying sigma

2007-10-12 Thread matt
, you only pass a single sigma value. Kind Regards, Matt > As it happens, I've already read all these threads. I was specifically aware > of > the need to assign the polarizability I used to a simple-dielectric object. > For > that reason, I wrote a function "initiali

Re: [Meep-discuss] Spatially varying sigma

2007-10-12 Thread matt
ss@ab-initio.mit.edu/msg00635.html http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg00902.html I found these by searching for "material-function sigma" on the mailing list, though I think you would also find the same hits if you searched for "Johnson". Best Regards,

[Meep-discuss] anisotropy in meep

2007-10-10 Thread matt
these hacks documented somewhere? If not, could anyone who successfully got anisotropy working clue us in on how they achieved this? Best Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/ma

[Meep-discuss] subplex/libctl

2007-08-15 Thread matt
Hello, Is there any documentation available on using "subplex", listed in the libctl release notes? Best, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] meep-mpi and read-line

2007-08-15 Thread matt
This was a very simple problem; guile 1.6.7 and 1.8.2 behave slightly differently. read-line works with (use-modules (ice-9 rdelim)) Regards, Matt On Mon, 13 Aug 2007, matt wrote: > > > Hello, > > I have a meep script which opens a text file and sets some parameters > a

[Meep-discuss] meep-mpi and read-line

2007-08-13 Thread matt
mpirun -np 4 meep-mpi test.ctl Using MPI version 2.0, 4 processes ERROR: Unbound variable: read-line rank 1 in job 57 cariddi_60917 caused collective abort of all ranks exit status of rank 1: killed by signal 9 Is this intentional? If so, is there some alternative I can try? Best Regards

Re: [Meep-discuss] serial hdf5 and meep-mpi

2007-08-13 Thread matt
You were correct, it was an install problem. Thanks, Matt On Wed, 8 Aug 2007, Steven G. Johnson wrote: > On Wed, 8 Aug 2007, matt wrote: >> % mpirun -np 4 meep-mpi mm1.ctl > noscatrun.out && echo "finished" >> meep: not compiled with HDF5, required for H

[Meep-discuss] serial hdf5 and meep-mpi

2007-08-08 Thread matt
ing I should do in the ctl file to implement said hacks? Best Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] how to define the infinite substrate in the calculation of transmission spectrum?

2007-08-02 Thread matt
plane and surrounding interfaces. A good starting point is one wavelength on either side, but this may be excessive in certain circumstances (for normal incidence you can get away with less). Matt On Thu, 2 Aug 2007, seathink wrote: > Hi Steven and Meep users, The following structure ha

Re: [Meep-discuss] nonlinear complex fit

2007-07-05 Thread matt
Hello, Thanks for your suggestion. It seems that a fitting complex data is not possible with grace. It's possible to fit one curve at a time (real, or imaginary, separately). Best Regards, Matt On Tue, 3 Jul 2007, Andreas Wilde wrote: matt wrote: Hello, I have the foll

[Meep-discuss] nonlinear complex fit

2007-07-03 Thread matt
one can write a stupid excel spread sheet to fit N lorentzians to a table of > (experimental) complex epsilons... Best Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] unwanted dispersive behavior?

2007-06-27 Thread matt
gards, Matt On Wed, 27 Jun 2007, matt wrote: > > > That's not it. I set the resolution early in the script, and I'm able > to confirm via h5ls that increasing the resolution in the script > increases the size of problem. > > Best, > Matt > >> The prob

Re: [Meep-discuss] unwanted dispersive behavior?

2007-06-27 Thread matt
That's not it. I set the resolution early in the script, and I'm able to confirm via h5ls that increasing the resolution in the script increases the size of problem. Best, Matt > The problem turned out to be that they were calling (set! resolution ...) > too late in the file

[Meep-discuss] unwanted dispersive behavior?

2007-06-27 Thread matt
0) calculate reflectivity based on a flux point instead of a flux plane Just looking at the curve width make me think there's some kind of dispersive behavior, but I have no idea where it could be coming from. Any ideas? Best Regards, Matt compare.png

[Meep-discuss] dispersive materials

2007-06-25 Thread matt
lues which fits a curve to those references. It would be nice if we could share this info here on the mailing list, and perhaps even collect it on a wiki page. Best Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu

Re: [Meep-discuss] displax-fluxes bug?

2007-05-30 Thread matt
tools like sed, awk, grep, or perl to automate the removal of the unwanted text. Best, Matt On Wed, 30 May 2007, Andreas Wilde wrote: Hello, I´m trying to compute transmission spectra of some structures using meep-mpi. The problem is: If I set a command line argument meep prints a statement co

Re: [Meep-discuss] about periodic boundary in meep

2007-05-14 Thread matt
like this: (define-param k-interp 19) (run-k-points 300 (interpolate k-interp (list (vector3 0) (vector3 0.5 There's a nice example here: http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial/Band_diagram%2C_resonant_modes%2C_and_transmission_in_a_holey_waveguide Best, Matt On Mon, 1

Re: [Meep-discuss] How to set force-complex-fields to false in C++ interface

2007-05-07 Thread matt
According to this, http://article.gmane.org/gmane.comp.science.electromagnetism.meep.general/431/ the C++ version uses complex fields by default. Perhaps this already answers your second question, about why you are using up twice the memory you expect to be using up. Kind Regards, Matt

Re: [Meep-discuss] why Q is negative?

2007-04-22 Thread matt
, Matt On Sun, 22 Apr 2007, Andrew Andrew wrote: > Hi Alex, > > I wait a longer time, but it doesn't work. I will show you some details. > > The control file is holey-wvg-bands.ctl which can be found in meep's example > files. Because I want to find the Q of kx=0

[Meep-discuss] errors in scattering parameter calculation

2007-04-11 Thread matt
.us/23054 touch asdf.h5 && rm *.h5 *.png comput* *~ && meep no-scatterer\?=true compute-flux\?=true test.ctl | tee lastrun.out && meep no-scatterer\?=false compute-flux\?=true test.ctl | tee -a lastrun.out Kind Regards, Matt 1.

Re: [Meep-discuss] Can't compile haminv 1.3.1 on cluster

2007-04-02 Thread matt
The first scenario has something to do with an incorrect lapack install, or perhaps you just need to specify --with-lapack when running configure. I'm not familiar with the other errors. On Mon, 2 Apr 2007, Nicolas Tetreault wrote: Hi all, hopefully you can give me a hand with this. I c

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

2007-04-01 Thread matt
nant_modes%2C_and_transmission_in_a_holey_waveguide#Band_diagram Kind Regards, Matt On Mon, 2 Apr 2007, #YIP CHAN HOE# wrote: Dear Meep users, I am rather weak in Scheme programming and couldn't figure out after working a few days on this. I wanted to run Harminv on several k-points in my structure. So I wrote a lo

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-04-01 Thread matt
least for incidence angles which are not too shallow). Thanks again for all the support! Meep rocks. Kind Regards, Matt ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-29 Thread matt
false output-finalfield\?=true compute-flux\?=true test.ctl | tee -a lastrun.out Best Regards, Matt On Wed, 28 Mar 2007, Steven G. Johnson wrote: On Wed, 28 Mar 2007, Steven G. Johnson wrote: If you have a non-periodic structure in the x direction, or care about frequencies above the diffrac

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread matt
o do what you describe; create a 2d dataset of scattering properties over frequency and angle. Best, Matt On Wed, 28 Mar 2007, Steven G. Johnson wrote: On Wed, 28 Mar 2007, matt wrote: My trouble with this is that it isn't compatible with the periodic plane wave excitation: I can creat

Re: [Meep-discuss] incorrect reflection coeff. calculation

2007-03-28 Thread matt
e periodic boundaries are frequency specific. For a gaussian source, a small df practically makes it a continuous source, producing the same results. The reason you'd want this is to be able to calculate the scattering properties for a particular angle of incidence. Kind Regards, Matt

  1   2   >