powerflux_box

Calculate the net power flux through a box.

Contents

Syntax

power = powerflux_box(E_cell, H_cell, box)

Parameters

Input

Output

Example

[E, H] = maxwell_run({ARGUMENTS});
power = powerflux_box(E, H, Axis.z, 0, [0 200; 0 100; 0 100]);

See Also

powerflux_patch, maxwell_run