pub fn thermal_equilibration(
solver: &GpuThermalSolver,
old: &[f64],
tol: f64,
) -> boolExpand description
Check whether the temperature field has reached thermal equilibrium.
Returns true when the maximum absolute change between old and the
current field is below tol.
ยงArguments
solver- The thermal solver (current state).old- Temperature field from the previous iteration.tol- Convergence tolerance (K or simulation units).