infinity) (e2 (/ -1 (sqrt 3)) (/ 2 (sqrt 3))) (e1 1 0)))
gives me the total power for bands which have >25% of their electric
field energy within a hexagonal region I specified using three
overlapping blocks.
I hope this helps,
Hector
On Wed, Aug 31, 2016 at 11:08 AM Adam Klimont <ak...@cam
Hello,
How to compute the energy of a field in a supercell? Take e.g. MPB's
tutorial script for triangular rods:
https://github.com/stevengj/mpb/blob/master/examples/tri-rods.ctl. I can
calculate the energy in one rod by invoking:
((output-dpwr-in-objects output-dpwr 0.001 (make cylinder