On Tue, 27 Jun 2006, hbchen8888 wrote:
In meep reference, theere is a function "<CODE>(geometric-objects-duplicates <I>shift-vector min-multiple max-multiple obj-list</I>)" .It returns a list of duplicates of obi-list in steps of 1.If I want to duplicate obj-list in step of 1.3 or other steps, what can I do?
The shift vector is arbitrary, so you can do (vector3 1.3) if you want to shift in steps of 1.3 in the x direction, for example.
Another function is "<CODE>(geometric-objects-lattice-duplicates <I>obj-list [ ux uy uz ]</I>)</CODE>".Is the [ux uy uz] a number or vector? How to set it? I have try it using either numbers or vectors,but it is incorrect. Could you help me?
ux uy and uz should be three numbers. You don't type the square brackets... those just indicate in the manual that they are optional arguments.
Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

