On Mar 11, 2009, at 12:13 AM, Alexander Gondarenko wrote:
I am trying to run a cylindrical coordinates simulation with relatively large
radius.
The structure involved is a ring, so all of the field is close to the
outer perimeter of the cavity.
To save time I would like to define the
computation domain over (rmin,rmax) as oppose to (0,rmax).
Is that possible to do?

Yes. At least, this feature worked at one point, but it's been awhile so you might want to test it carefully on some simple cases to make sure it's working.

You have to call a function fields::set_rshift(R) to shift the starting radius in the computational cell from r=0 to some other radius R. In the Scheme interface, you would do:

        (init-fields)
        (meep-fields-set-rshift R)

before calling (run) or anything like that.

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to