The gradient adaption function allows you to mark cells or adapt the mesh based on the gradient, curvature, or isovalue of the selected field variables.