This file contains a subroutine for computing the scaled norm of the residual. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | _qrm_residual_norm2d (qrm_mat, b, x, nrm) |
This routine computes the scaled norm of multiple residuals. More... | |
subroutine | _qrm_residual_norm1d (qrm_mat, b, x, nrm) |
This routine computes the scaled norm of the residual. More... | |
This file contains a subroutine for computing the scaled norm of the residual.
Definition in file qrm_residual_norm.F90.
subroutine _qrm_residual_norm1d | ( | type(_qrm_spmat_type) | qrm_mat, |
b, | |||
x, | |||
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 qrm_residual_norm.F90.
References _qrm_spmat_mod::_qrm_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 _qrm_methods_mod::_qrm_residual_norm1dw().
subroutine _qrm_residual_norm2d | ( | type(_qrm_spmat_type) | qrm_mat, |
b, | |||
x, | |||
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 qrm_residual_norm.F90.
References _qrm_spmat_mod::_qrm_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 _qrm_methods_mod::_qrm_residual_norm2dw().