pub fn lorenz_gauge_kernel(
potential_manifold: &Manifold<f64>,
) -> Result<CausalTensor<f64>, PhysicsError>Expand description
Calculates the Lorenz gauge condition: $\nabla \cdot A = 0$.
Computes the codifferential $\delta A$ (divergence) of the potential 1-form.
§Arguments
potential_manifold- Manifold containing the potential 1-form $A$.
§Returns
Result<CausalTensor<f64>, PhysicsError>- Divergence scalar field (0-form) on vertices.