Re: [Meep-discuss] Output-png problem

2008-01-29 Thread Manoj Rajagopalan
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] Sent: Monday, January 28, 2008 8:29 AM To: Li, Jingjing; 'meep-discuss@ab-initio.mit.edu

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-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 since

[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

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

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 for a

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 a

[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,

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).

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

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] 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 gives

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 try

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
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 set CPPFLAGS and LDFLAGS

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] 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

[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

Re: [Meep-discuss] rotation utilities?

2008-01-06 Thread Manoj Rajagopalan
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: So right now is there a way to create a rotated

[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

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 line

[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