c----------- cgcommon package ------------------------------------------- c these routines are required for use by the conjugate gradient machinery c history c 03.01.28 (BTD) moved routines CAXPY and CSWAP to blas.f package of c basic linear algebra subroutines c end history c------------------------------------------------------------------------ REAL FUNCTION SCSETRHSSTOP(B,WRK,EPSILON,IPAR,PRECONL,PSCNRM) IMPLICIT NONE * .. Scalar Arguments .. REAL EPSILON * .. * .. Array Arguments .. COMPLEX B(*),WRK(*) INTEGER IPAR(*) * .. * .. Function Arguments .. REAL PSCNRM EXTERNAL PSCNRM * .. * .. Subroutine Arguments .. EXTERNAL PRECONL * .. * .. Local Scalars .. INTEGER LOCLEN,STOPTYPE * .. LOCLEN = IPAR(4) STOPTYPE = IPAR(9) IF ((STOPTYPE.EQ.1) .OR. (STOPTYPE.EQ.4) .OR. + (STOPTYPE.EQ.7)) THEN * ||r||