On Jun 12, 2008, at 10:30 AM, asadollahbaik a. (aa306) wrote: > I am having a big confusion. > Imagine I have a square unit cell and I define a circle in it where > half of the circle is out of the unit cell. If I want the structure > to be periodic in every direction, I would not specify the PML > layers. So then what would happen to the half of the circle which is > out of the unit cell: > - would it be ignored by meep? > - Or meep considers it and repeat it in the neighbourhood > cells?!?
Any portion of the objects that are outside of the unit cell are ignored by default. However, if you set the input variable ensure-periodicity? to true, it will "wrap the object around" to the other side of the unit cell, i.e. it implicitly makes all of the objects repeat periodically, as documented in the manual. In any case, whenever you are confused by something like this, the simplest thing is just to try it, and look at the resulting epsilon.h5 file. Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

