__global__ void calculateMagneticDivergence(Real const *dev_conserved, Real *maxDivergence, Real const dx, Real const dy, Real const dz, int const nx, int const ny, int const nz, int const n_cells)
Kernel to compute the maximum divergence of the magnetic field in the grid. Uses reduction_utilities:...