Hi,

 

I am doing 3D simulation in MEEP with periodic dielectric structure.

The code is presented below that defines three blocks. 

To visualize the structure I utilize output-epsilon function,

then make slices at y=1, and at z=-4.5 centered versus the cell center.

I can see the structure correctly at y slice, and I do not see 

anything at z slice (in fact, at any z slice). What I am doing wrong?

 

Thank you.

_____________________________________________

(set! geometry-lattice (make lattice (size 16 16 16)))

 

(set! geometry (list

                (make block (center 4 4 -4.5) (size 8 8 1)

                      (material (make dielectric (epsilon 16.7))))

                                (make block (center -4 -4 -4.5) (size 8
8 1)

                      (material (make dielectric (epsilon 16.7))))

                (make block (center 0 0 -6) (size 16 16 2)

                      (material (make dielectric (epsilon 16.7))))

))

(set! resolution 10)

(set! k-point (vector3 0 0 0)) ; periodic boundary conditions

(use-output-directory)

(run-until 1

                   (at-beginning output-epsilon)

                   )

 

_____________________________________________

Commands:

 

h5topng -S3 -0 -y 1 eps-000000.00.h5 

h5topng -S3 -0 -z -4.5 eps-000000.00.h5

_____________________________________________

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

Reply via email to