linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
A preconditioned GMRES solver. More...
Public Member Functions | |
csr_pgmres_solver | |
A preconditioned GMRES solver.
[in] | a | The original N-by-N matrix. |
[in] | lu | The N-by-N LU-factored matrix of the approximation to the system as output by lu_factor. |
[in] | ju | The N-element U row tracking array output by lu_factor. |
[in,out] | b | On input, the N-element right-hand-side array. On output, this array is overwritten as it is used as in-place storage by the PGMRES algorithm. |
[out] | x | The N-element solution array. |
[in] | im | An optional parameter specifying the size of the Krylov subspace. This value should not exceed 50. |
[in] | tol | An optional parameter specifying the convergence tolerance against which the Euclidean norm of the residual is checked. The default value is the square root of machine precision. |
[in] | maxits | An optional parameter specifying the maximum number of iterations allowed. The default is 100. |
[in] | iout | An optional parameter used to specify the device to which status updates will be written. If no updates are requested, a value less than or equal to zero should be supplied. The default is zero such that no updates will be provided. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 5546 of file linalg.f90.