Hello MEEP Users and Steven,

    I've expanded on the code in the the Opal Transmission example (writen 
in C++) on the MEEP website to calculate the transmission for a 3D opal 
mulitlayer.  The spectra normalizes to values between 0 and 1 as it should. 
However, I just realized that my src and flux planes lie outside the 
computational cell, as I forgot to divide sz (cell dimension normal to the 
film surface) by 2!  When I code the same implementation in Scheme, 
remembering to keep my src and flux planes in the cell, I get transmission 
values greater than 1.  Both my src and flux planes (in Scheme 
implementation) are about 3 wavelengths (wrt largest wavelength in my 
spectrum) away from the film.  I tried increasing their distances from the 
film, but there are still values greater than 1 in the spectrum.
    My question is: is it problematic to have the src and flux planes 
outside of the computation cell?  I'm working with periodic boundary 
conditions in all directions.  I know one should leave sufficient distance 
between one's structure and the src and flux planes, but must one do this 
while still keeping the planes in the computational cell (i.e. just making 
the computational cell larger versus give the planes coodinates outside the 
computational cell region)? Hope what I'm trying to explain is clear.

Thanks,

Ian 




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

Reply via email to