Re: Multiple geometries overlapping in mpb/meep

nate lipkowitz <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
hi lukas,

i don't know about meep, but in mpb what you suggest works just fine.   
you can build up complex structures by sequentially defining the  
simple geometric shapes.  the unit cell is just grid of points with a  
dielectric value (or matrix, really) at each point.

when you put a simple geometric shape in your geometry list, mpb  
figures out which points in the grid that shape occupies, and writes  
the dielectric information associated with the shape into the grid.   
then it goes to the next item in the list and repeats the process.  so  
if your shapes overlap, the last one to be written into any given grid  
point is what is used in the calculation.

cheers-
nate



plhu <[email protected]> wrote:

>    Hello,
> I try to simulate the case of more superposed dielectric structures
> overlapping each other. If I well understood, the geometric structure is
> overlapped by other if the latter is defined lately in the source code. I
> wouold like to ask then if mpb or meep support defined overlapping and can
> model the case of three geometric shapes mutually superimposed.
>
>    Cheerful
>
>    Lukas Oliva
>
>
> _______________________________________________
> mpb-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
nate lipkowitz
416 823 8057
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.