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 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 anybody has > done such a thing in meep so I can see an example. > > thank you > > > ------------------------------------------------------------------------ > > _______________________________________________ > meep-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

