num::divergence_3d¶
Defined in header <pde/stencil.hpp>
void divergence_3d(const scalar_field_3d &fx, const scalar_field_3d &fy,
const scalar_field_3d &fz, scalar_field_3d &out);
Compute \(\nabla\cdot f\) with central differences.