Retrieves the number of the current iteration and updates the solution.
dfgmres_get(n, x, b, RCI_request, ipar, dpar, tmp, itercount)
The Fortran interface is specified in the mkl_rci.fi include file and the C interface is specified in the mkl_rci.h include file.
The routine dfgmres_get retrieves the current iteration number of the solution process and updates the solution according to the computations performed by the dfgmres routine. To retrieve the current iteration number only, set the parameter ipar(13)= -1 beforehand. Normally, you should do this before proceeding further with the computations. If the intermediate solution is needed, the method parameters must be set properly. For details see FGMRES Common Parameters and the Iterative Sparse Solver code examples in the examples\solver\source folder of your Intel MKL directory (cg_no_precon.f, cg_no_precon_c.c, cg_mrhs.f, cg_mrhs_precond.f, cg_mrhs_stop_crt.f, fgmres_no_precon_f.f, fgmres_no_precon_c.c).
INTEGER. Sets the size of the problem.
INTEGER array of size 128. Refer to the FGMRES Common Parameters.
DOUBLE PRECISION array of size 128. Refer to the FGMRES Common Parameters.
DOUBLE PRECISION array of size ((2*ipar(15)+1)*n+ipar(15)*ipar(15)+9)/2 + 1). Refer to the FGMRES Common Parameters.
DOUBLE PRECISION array of size n. If ipar(13)= 0, it contains the updated approximation to the solution according to the computations done in dfgmres routine. Otherwise, it is not changed.
DOUBLE PRECISION array of size n. If ipar(13)> 0, it contains the updated approximation to the solution according to the computations done in dfgmres routine. Otherwise, it is not changed.
INTEGER. Gives information about result of the routine.
INTEGER argument. Contains the value of the current iteration number.
Indicates that the task completed normally.
Indicates that the routine was interrupted because errors were found in the routine parameters. Usually this happens if the parameters ipar and dpar are altered by mistake outside of the routine.
Indicates that the routine failed to complete the task.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.