powerflux_box
Calculate the net power flux through a box.
Contents
Syntax
power = powerflux_box(E_cell, H_cell, box)
Parameters
Input
Output
- power: calculated net power flux through the box. A positive value means a flux going out of the box.
Example
[E, H] = maxwell_run({ARGUMENTS}); power = powerflux_box(E, H, Axis.z, 0, [0 200; 0 100; 0 100]);