Re: [Meep-discuss] Output-png problem

2008-01-29 Thread Manoj Rajagopalan
> Jingjing Li, Ph.D > Postdoc, Quantumn Science Research > Hewlett-Packard Laboratories > 1501 Page Mill Road, MS 1l23 > Palo Alto, CA 94304 > Phone: 650 857 5454 > > >> -Original Message- >> From: Manoj Rajagopalan [mailto:[EMAIL PROTECTED]

Re: [Meep-discuss] Output-png problem

2008-01-28 Thread Manoj Rajagopalan
Looks like the actual node that is running meep in your cluster isn't seeing your PATH variable. Ask your sysadmin on which file you must set your path to so that the definition is propagaged. For now you could try to "man" your bsub command to see if it accepts env variable arguments. Try, PA

Re: [Meep-discuss] Meep output : Problem

2008-01-26 Thread Manoj Rajagopalan
hi shiv, Here is my best guess - someone correct me if I'm wrong. Try one or both of the following: 1. increase the width of the gaussian source. It seems to be a very tight spike: check if it is comparable to resolutions. The grid will propagate a pulse better if is spread out across more

Re: [Meep-discuss] Units in meep::Confused

2008-01-24 Thread Manoj Rajagopalan
Hi all, I'd posted this email on a different thread and now that the units thread has explicitly surfaced, I'm pasting my take on it so that others could comment on it and correct me where I'm wrong. Length is specified as the "number of" 'a' units where 'a' is your length-scale, usually

Re: [Meep-discuss] Units in meep::Confused

2008-01-24 Thread Manoj Rajagopalan
Hi all, I'd posted this email on a different thread and now that the units thread has explicitly surfaced, I'm pasting my take on it so that others could comment on it and correct me where I'm wrong. Length is specified as the "number of" 'a' units where 'a' is your length-scale, usually

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

2008-01-22 Thread Manoj Rajagopalan
hi Shiv, These are the functions I use to convert from real units to the meep system. cc-ing the Meep mailing list should anyone else want to comment or correct these: (define C_0 299792458.0); m/s (define (meepify-length real-length lscale) (/ real-length lscale)) (define (meepify-velocit

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.

Re: [Meep-discuss] About the "procedure cdr" and .ctl debugging

2008-01-19 Thread Manoj Rajagopalan
Hi Francisco, "car" and "cdr" are list-access/manipulation functions in Lisp/Scheme, if I remember my functional programming correctly. Try looking up references related to these to understand the error messages. cheers Manoj Francisco Cordobés wrote: > Dear list, > > I've been wondering

[Meep-discuss] Units for polarizability components

2008-01-18 Thread Manoj Rajagopalan
Hi all, Meep's polarizabilities are specified using omega, gamma, delta-epsilon, sigma etc. Should the gamma be specified in units of c/a or 2PI*c/a? This doubt stems from the Johnson and Christy paper on optical constants for noble metals where gamma is specified as 1/tau where tau i

[Meep-discuss] MEEP: complex dielectric constant

2008-01-17 Thread Manoj Rajagopalan
Hi Dr. Johnson and other MEEP/FDTD knowledgeables, I was thinking about why MEEP should allow only a real dielectric constant. In the monochromatic case it would make sense to evaluate the dielectric function at the frequency-of-interest \omega_0 and plug that into Maxwell's equations, simpl

Re: [Meep-discuss] MEEP installation problem

2008-01-17 Thread Manoj Rajagopalan
Looks like a guile/guile-devel version mismatch to me. Your install command failed because there was an existing version. Instead of "yum install" try "yum update" cheers Manoj Jiha Sung wrote: > Dear MEEP Helper: > > Recently I have been trying to install MEEP and related interfaces into >

Re: [Meep-discuss] what does density of states mean?

2008-01-17 Thread Manoj Rajagopalan
Regards, > \\Robert Rehammar > > On Thu, 2008-01-17 at 10:02 -0500, Manoj Rajagopalan wrote: >> Hi all, >> >>Could someone clarify the meaning of this term? I'm aware of what it >> means in quantum mechanics. &g

[Meep-discuss] what does density of states mean?

2008-01-17 Thread Manoj Rajagopalan
Hi all, Could someone clarify the meaning of this term? I'm aware of what it means in quantum mechanics. Any useful links/resources? thanks Manoj ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mai

Re: [Meep-discuss] Hdf5 and meep -- hdf5 failing

2008-01-17 Thread Manoj Rajagopalan
You might have to tell mpirun (or whatever load-manager your cluster uses) the max file-size per node that you expect. I've run into issues in my cluster where we use a PBS script to submit jobs and we are required to tell PBS the upper limits on resources we expect to use so that the scheduler

Re: [Meep-discuss] unable to compile libctl

2008-01-17 Thread Manoj Rajagopalan
Do you have the guile-devel package installed? -- Manoj shiv chawla wrote: > hello > > I am trying to compile libctl on cygwin for usage in meep. I am unable > to do so. > > It states something like this > > > [EMAIL PROTECTED] /libctl-3.0.2 > $ ./configure --prefix=/usr/local > checking fo

Re: [Meep-discuss] What is "Geometric objects and scene"?

2008-01-16 Thread Manoj Rajagopalan
Objects such as blocks, cylinders, cones etc. are geometric objects. Look up the MEEP libctl reference for a list of allowed types. A collection and arrangement of these in your simulation volume is the scene. You will find the term "scene" used in a similar manner in computer graphics (and mov

Re: [Meep-discuss] MEEP's C++ interfaces

2008-01-16 Thread Manoj Rajagopalan
I'm in the process of decrypting MEEP's C++ part. what I dig up I add to the C++ reference wiki page. MEEP's interface with libctl is in the libctl/ subdir, not in the src/ subdir. Also, some of the header files are generated from basic specifications in the hsrc/ subdir using Haskell (ghc). S

Re: [Meep-discuss] hdf5 error in meep: unable to create files.....

2008-01-15 Thread Manoj Rajagopalan
What about read/write permissions to the directories? -- Manoj shiv chawla wrote: > hello > > I am using kubuntu gutsy on intel32 machine. I have installed meep on my > computer. This works fine for 3r harmonic .ctl from examples however, it > fails for all other files in meep examples and gi

Re: [Meep-discuss] hdf5 error in meep: unable to create files.....

2008-01-15 Thread Manoj Rajagopalan
Are you out of disk space? Some HDF5 files can be huge. -- Manoj shiv chawla wrote: > hello > > I am using kubuntu gutsy on intel32 machine. I have installed meep on my > computer. This works fine for 3r harmonic .ctl from examples however, it > fails for all other files in meep examples and

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
o a directory and use > it from there cause I still dont have harminv etc.. > Could you tell me why adding -pthread and -lpthread worked?? > Thanks > Mani chandra > > --- On *Sun, 13/1/08, Manoj Rajagopalan /<[EMAIL PROTECTED]>/* wrote: > > From: Manoj Rajagop

Re: [Meep-discuss] Help!

2008-01-13 Thread Manoj Rajagopalan
search the dirs you specified first before looking up the standard dirs. -- Manoj Manoj Rajagopalan wrote: > In your meep "unpack" dir, run > > ./configure --help > > Look at the documentation for CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS. You > might just need to

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 lin

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
Try adding the -pthread and -lpthread options to your compilation command line -- Manoj Mani Chandra wrote: > Hi! > After resolving the eps() issue the pthread thing cropped up > again!...Initially I thought it was because I commented out some lines > but this time it's appearing even when I

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 head

Re: [Meep-discuss] Trouble in ./configure of MEEP

2008-01-12 Thread Manoj Rajagopalan
Try the one or all of the following: 1. set the LD_LIBRARY_PATH environment variable to include /usr/local/lib 2. include on your configure command line: CPPFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include CFLAGS=-I/usr/local/include Also, open config.log in your favourite editor an

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

[Meep-discuss] MEEP C++: polarization vs polarizability

2008-01-09 Thread Manoj Rajagopalan
Hi Dr. Johnson, I understand polarization to be the material property. So polarization would then be the state of the material with the given polarizability and under the influence of the sources at a particular time-step in the simulation? I also see a volume variable 'v' for polarizabi

Re: [Meep-discuss] rotation utilities?

2008-01-06 Thread Manoj Rajagopalan
itives. A scenegraph for this would be overkill. Simply adding an extra orientation parameter may be enough. But if we do this would it be able to handle obliquely oriented line and plane sources? Thanks Manoj Steven G. Johnson wrote: > On Sun, 6 Jan 2008, Manoj Rajagopalan wrote: >>

[Meep-discuss] rotation utilities?

2008-01-06 Thread Manoj Rajagopalan
Hi list Is there a function to rotate objects in meep? I see only a translation utility. thanks Manoj ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] flux-in-box

2008-01-05 Thread Manoj Rajagopalan
Hi all, Regarding the flux-in-box function, it needs a direction, and a box-shaped volume. I don't clearly understand this. The example in the documentation presents a y-z cross-section of unit size and defines 'dir' to be X. I understand this to be a box whose x-length spans the simulation

[Meep-discuss] MEEP C++: structure_chunk:: variables

2007-12-26 Thread Manoj Rajagopalan
Hi all, Does anyone know what these variables are used for in the structure_chunk class? double *C[5][NUM_FIELD_COMPONENTS]; double *Cdecay[5][NUM_FIELD_COMPONENTS][5]; thanks Manoj ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http

[Meep-discuss] MEEP C++: fields_chunk::variables

2007-12-26 Thread Manoj Rajagopalan
Hi all, Does anyone know what the following variables in the fields_chunk class are used for? I have attempted to understand them first and I have included my interpretation as doxygen-style comments for some I feel sure about. /// Stores pointers to (complex-valued) fields. /// E.g.

Re: [Meep-discuss] line defects in PhC

2007-12-24 Thread Manoj Rajagopalan
Hi Karel, I don't understand what you mean by a slab with a radius in your description below. Could you elaborate? Then I could go through your .ctl file. cheers Manoj Karel Van Acoleyen wrote: > Dear meep users, > > A few weeks ago I sent a mail to try to simulate waveguide modes of lin

[Meep-discuss] MEEP C++: frequency-dependence in geometric objects

2007-12-22 Thread Manoj Rajagopalan
Hi all, Does someone know where in the code are frequency-dependent material functions inside geometric objects are/can be handled? In my reading of the classic FDTD book by Taflove I found two methods mentioned for handling dispersive materials - the piecewise linear recursive convolut

[Meep-discuss] MEEP C++ and geometric objects

2007-12-22 Thread Manoj Rajagopalan
Hi all, I was browsing the source code to see how geometric objects like spheres, cones, cylinders etc can be specified with dispersive materials and after spending many hours I'm still lost. Am I right in understanding that solid geometry primitives are handled by the interface to lib

[Meep-discuss] MEEP C++ field output filenames`

2007-12-20 Thread Manoj Rajagopalan
Hi, Does anyone know what outputs the *.00.h5 files store and what the *.50.h5 store? I have only one f.output_hdf5 statement in my program (fields f). Is one for the electric field and the other for the magnetic field since they are computed at different half-steps of each step? Thanks Man

[Meep-discuss] MEEP C++: volume vs. geometric_volume

2007-12-18 Thread Manoj Rajagopalan
Hi all, Does anyone know their respective functionalities? Thanks, Manoj Rajagopalan ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] MEEP C++: the 'm' data member of the 'fields' data structure

2007-12-18 Thread Manoj Rajagopalan
HI all, Does anyone know what this integer variable represents? Thanks Manoj ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] MEEP C++ design: normal vs chunk data structures

2007-12-18 Thread Manoj Rajagopalan
Hi all, I was trying to understand the MEEP C++ interface by reading the sources and I had a question: What is the "chunk" concept? How does the "fields" class differ from the "fields_chunk" class, the "structure" class from the "structure_chunk" class? What is "dft_chunk"? Thanks, Manoj