Go to the source code of this file.
Functions/Subroutines | |
subroutine | dqrm_residual_norm2d (qrm_mat, b, x, nrm) |
This routine computes the scaled norm of multiple residuals. More... | |
subroutine | dqrm_residual_norm1d (qrm_mat, b, x, nrm) |
This routine computes the scaled norm of the residual. More... | |
subroutine dqrm_residual_norm1d | ( | type(dqrm_spmat_type) | qrm_mat, |
real(kind(1.d0)), dimension(:) | b, | ||
real(kind(1.d0)), dimension(:) | x, | ||
real(kind(1.d0)) | nrm | ||
) |
This routine computes the scaled norm of the residual.
This routine computes the norm of the scaled residual, i.e., ||r||/||A|| for a single RHS.
[in] | qrm_mat | a qrm_spmat_type data which contains the input matrix. |
[in,out] | b | the RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residual |
[in] | x | the solution |
[out] | nrm | the residual norm |
Definition at line 121 of file dqrm_residual_norm.F90.
References dqrm_spmat_mod::dqrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().
Referenced by dqrm_methods_mod::dqrm_residual_norm1dw().
subroutine dqrm_residual_norm2d | ( | type(dqrm_spmat_type) | qrm_mat, |
real(kind(1.d0)), dimension(:,:) | b, | ||
real(kind(1.d0)), dimension(:,:) | x, | ||
real(kind(1.d0)), dimension(:) | nrm | ||
) |
This routine computes the scaled norm of multiple residuals.
This routine computes the norm of the scaled residual, i.e., ||r||/||A|| for a single RHS.
[in] | qrm_mat | a qrm_spmat_type data which contains the input matrix. |
[in,out] | b | the RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residual |
[in] | x | the solution |
[out] | nrm | the residual norm |
Definition at line 50 of file dqrm_residual_norm.F90.
References dqrm_spmat_mod::dqrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().
Referenced by dqrm_methods_mod::dqrm_residual_norm2dw().