Whoops, forget what I said in the previous message. The set-rshift feature was for something completely different ... it was a bit of a hack to allow us to change the radius of curvature as a function of time in a simulation of a waveguide bend.

What you want to do instead, is to just use the (undocumented) geometry-center variable:

(set! geometry-center (vector3 R 0 0))

This should make the origin in cylindrical coordinates start at r=R rather than at r=0.

Steven

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

Reply via email to