pub fn fields_from_potentials(
phi: &HarmonicField,
a: &HarmonicField,
) -> Result<(HarmonicField, HarmonicField), ErrorsJSL>Expand description
The fields of the potentials: E = -∇Φ - ∂A/∂t (with ∂/∂t → ±jω per convention) and
B = ∇ × A, on a volume domain. Returns (E, B) in the domain’s linear basis.