I'm looking for some tips on using mayavi.
1)
For the following simple structure, I can somewhat see what's going on
by using surface maps. What I'd like to see is the the two intersecting
cubes and their boundaries, perhaps colored differently based on their
epsilon:
(set! geometry
(list (make block (center 0 0 0) (size 5 5 5) (material (make dielectric
(epsilon 3))))
(make block (center 3 3 3) (size 6 6 6) (material (make dielectric
(epsilon 5))))))
2)
As soon as I tell meep a structure is periodic with this
(set! geometry-lattice (make lattice (size a a no-size))) ; 2d periodic
the h5 epsilon data becomes 2d and not 3d. This isn't really what you'd
want if you're trying to visualize a unit cell, right? I'm not sure,
but i think this has something to do with (make lattice (size a a no-size))
having an undefined third dimension.
3)
If the structure is periodic, and you define in the geometry a (size inf inf
finite) slab
, does (output-epsilon) truncate the h5 output to the size defined by
the lattice?
4)
I can see where metal is (or where dielectric isn't) with h5topng, but
not with mayavi. Are there any rules for how (output-epsilon) behaves
when dielectric overlaps with dielectric or metal?
Best Regards,
Matt
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss