poynting_vector_kernel

Function poynting_vector_kernel 

Source
pub fn poynting_vector_kernel(
    e: &CausalMultiVector<f64>,
    b: &CausalMultiVector<f64>,
) -> Result<CausalMultiVector<f64>, PhysicsError>
Expand description

Calculates the Poynting Vector (Energy Flux): $S = E \times B$.

Uses the outer product $E \wedge B$ to represent flux as a bivector.

§Arguments

  • e - Electric field vector $E$.
  • b - Magnetic field vector $B$.

§Returns

  • Result<CausalMultiVector<f64>, PhysicsError> - Poynting vector (as bivector).