QR_MUMPS
 All Classes Files Functions Variables Enumerations Enumerator Pages
Functions/Subroutines
qrm_residual_norm.F90 File Reference

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...
 

Detailed Description

This file contains a subroutine for computing the scaled norm of the residual.

Date:
2016-01-29 22:22:30 +0100 (Fri, 29 Jan 2016)
Author:
abuttari
Version:
1.1
Revision:
2075

Definition in file qrm_residual_norm.F90.

Function/Subroutine Documentation

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.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in,out]bthe RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residual
[in]xthe solution
[out]nrmthe 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.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in,out]bthe RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residual
[in]xthe solution
[out]nrmthe 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().