Poynting vector
This merge request adds:
- a new way to calculate the magnetic energy density.
- a testcase for the dot product of two algebra elements.
- a diagnostic to calculate the Poynting vector. Here 4 different modes are possible: the standard ExB or the result derived from the discrete energy density. Both can be calculated at the time of the E-fields or the plaquettes.
- a diagnostic to calculate the projected power density, which uses the results of the projected energy density diagnostic.
- a diagnostic to calculate the projected divergence of the Poynting vector, which uses the results of the Poynting vector diagnostic.
- a test for Poynting's theorem.
Test results for different energy density and Poynting vector calculation modes: PoyntingTheoremTestResults.txt