pub fn temperature_gradient(solver: &GpuThermalSolver) -> Vec<[f64; 3]>Expand description
Compute the temperature gradient at every interior cell using central differences.
Returns a Vec<[f64; 3]> of length nx * ny * nz. Boundary cells get
a gradient of [0.0, 0.0, 0.0].
ยงArguments
solver- The thermal solver.