public delegate TIterativeStopTest
The event type called when user defined stop criteria for iterative sparse solver is requested.
The "Stop" parameter should be false to continue iteration and true to stop the iteration. The second dpar parameter is an array with the following contents:
- dpar[0] specifies the relative tolerance. The default value is 1.0D-6.
- dpar[1] specifies the absolute tolerance. The default value is 0.0D-0.
- dpar[2] specifies the Euclidean norm of the initial residual (if it is computed in the dfgmres routine). The initial value is 0.0.
- dpar[3] service variable equal to dpar(1)*dpar(3)+dpar(2). The initial value is 0.0.
- dpar[4] specifies the Euclidean norm of the current residual. The initial value is 0.0.
- dpar[5] specifies the Euclidean norm of residual from the previous iteration step (if available). The initial value is 0.0.
- dpar[6] contains the norm of the generated vector for FGMRES. The initial value is 0.0.
- dpar[7] contains the tolerance for the zero norm of the currently generated vector for GMRES (Default value is 1.0D-12) and and Alpha parameter for CG with default value of 0.
- dpar[8] beta parameter for CG (dpar(5)/dpar(6) with default value of 0. Not used by GMRES.