[Meep-discuss] cannot get when-true and at-time work together

2008-04-28 Thread Ruslan Sepkhanov
Dear Steven and Meep users, It seems that when-true function and at-time do not want to work together. Let me explain. I am trying to write a script which after reaching steady flow will do something (presumably integrate flux over a period), so as far as the steadiness condition is satisfied fun

[Meep-discuss] perhaps problem with harminv installation

2007-09-13 Thread Ruslan Sepkhanov
I am sorry guys for disturbing, there was just typo in my geometry script. I was not attentive enough to realize that geometry is initialize by run function. Sincerely, Ruslan ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio

[Meep-discuss] perhaps problem with harminv installation

2007-09-12 Thread Ruslan Sepkhanov
Dear Steven and MEEP users, I tried to use some functions in meep which use harminv and get the following error: ERROR: In procedure vector-ref: ERROR: Wrong type argument in position 1: #f The line in .ctl file which causes error is (run-k-points 300 (interpolate k-interp (list (vector3 0) (ve

Re: [Meep-discuss] custom 'stop-when'

2007-08-24 Thread Ruslan Sepkhanov
Hi, Zheng, thank you very much for the help! It works now. P.S. There was another my misunderstanding. Maxima of fields are never equal; so now I replaces equality by condition of being close. Sincerely, Ruslan ___ meep-discuss mailing list meep-discus

[Meep-discuss] custom 'stop-when'

2007-08-22 Thread Ruslan Sepkhanov
Dear Steven and meep users, I am trying to force meep to stop when stationary regime is reached. I believe stationary regime is reached when maximal absolute value of the field on some line does not change in time. Therefore I wrote my own function "stop-when-stationary" which checks that, but I d

Re: [Meep-discuss] Field should decay but blows up.

2007-08-10 Thread Ruslan Sepkhanov
On 17/07/07, Steven G. Johnson <[EMAIL PROTECTED]> wrote: > > > till some value and then blow up. I tried to experiment a bit, and I > have > > figured out that the process can be made stable by disabling subpixel > > averaging (I hope the following table could be usefull): > > Yes, right now the

[Meep-discuss] How to measure the energy carried by different modes?

2007-07-11 Thread Ruslan Sepkhanov
Dear Steven and meep users, Is it possible to calculate by usual means the energy carried by different modes? For instance in a waveguide? Sincerely yours, Ruslan ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi

[Meep-discuss] Field should decay but blows up.

2007-07-07 Thread Ruslan Sepkhanov
Dear Tjeerd, Steven and other meep users, I am calculating a transmission spectrum through 2D photonic crystal and I expirienced with the same problem. For some parameters and when the structure is present I cannot get the fields to decay, while normalization run is OK. If length L is set to 16 (

[Meep-discuss] make check fails with openmpi

2007-06-30 Thread Ruslan Sepkhanov
Dear Steven and others, First of all I am sorry that I sent three exactly the same messages before. It is my fault. While my previous e-mail was devoted to the error which occurred with meep make check installed with parallel fftw, parallel hdf5 and mpich, this time I tried to install parallel m

[Meep-discuss] make check fails at ./flux.dac for meep-mpi

2007-06-22 Thread Ruslan Sepkhanov
Dear Steven and others, I have installed meep-mpi on a cluster; even though 'make check' fails (see below) I can run meep-mpi on 4 processors and it outputs the data in .h5 format. Does anyone have a clue what could be wrong? mpirun -np 4 ./flux.dac Using MPI version 1.2, 4 processes Trying ou

[Meep-discuss] make check fails at ./flux.dac for meep-mpi

2007-06-22 Thread Ruslan Sepkhanov
Dear Steven and others, I have installed meep-mpi on a cluster; even though 'make check' fails (see below) I can run meep-mpi on 4 processors and it outputs the data in .h5 format. Does anyone have a clue what could be wrong? mpirun -np 4 ./flux.dac Using MPI version 1.2, 4 processes Trying ou

[Meep-discuss] incorrect reflection coeff. calculation

2007-05-31 Thread Ruslan Sepkhanov
I found the problem. It's pretty embarassing, and it took me much too long to track, but what happened was that I swapped the >transmitted and reflected flux regions. If you fix that, you can calculate scattering properties for a range of frequencies rather quickly and >reliably (at least for