[Meep-discuss] custom made geometry

2008-11-24 Thread rand mouradi
Dear Steven and Meep users I'm want to create a model with arbitrary (or custom made geometry). I just want to know if I can define such a thing in meep. I only see block, sphere, cylinder, and a "a-block-like" geometries available. So please let me know if I can define my own and how, or if a

Re: [Meep-discuss] custom made geometry

2008-11-24 Thread Andreas Unger
Hi rand, this can be done by the material-function and is described in the reference. You have to create a function which takes a vector3 (position) and returns a material. Andreas rand mouradi wrote: > Dear Steven and Meep users > I'm want to create a model with arbitrary (or custom made geom

Re: [Meep-discuss] custom made geometry

2008-11-24 Thread Steven G. Johnson
Yes, you can use a "material-function" type to define the material as an arbitrary function of position. You can also build up many more complicated geometries by combinations of blocks, cylinders, etc. On Nov 24, 2008, at 11:17 AM, rand mouradi wrote: I'm want to create a model with arbitra

Re: [Meep-discuss] off-diagonal elements of conductivity in CPP interface

2008-11-24 Thread Steven G. Johnson
On Nov 23, 2008, at 8:11 AM, hc_020 wrote: Meep supports the dielectric tensor internally via the structure::inveps data structure as you have said. From the cpp code I know meep support the conductivity via "double *conductivity[NUM_FIELD_COMPONENTS][5]", and now we just use the diagonal

Re: [Meep-discuss] How do I get meep-mpi to work?

2008-11-24 Thread Zheng Li
neal skinner wrote: > Zheng, Lieven, WBR and Fellow MEEP users, > > Your suggestions were right on the money. When I got rsh enabled and > started specifying the full path to meep-mpi, things started working. > Unfortunately, I am dissapointed by the decrease in execution times I > have experienc