evaluate the residual For relative errors (defined in convergence%absoluteError ), the result is divided by the current status value
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_convergence_type), | intent(inout) | :: | me | Convergence description |
||
real(kind=rk), | intent(in) | :: | state | Spatially reduced variable value |
||
integer, | intent(in) | :: | iScalar | Current scalar |
residual to check for convergence
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | pos_lastState | ||||
real(kind=rk), | private | :: | average |