Home
last modified time | relevance | path

Searched refs:hapbnd (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/ksp/impls/gmres/pipefgmres/
H A Dpipefgmres.c51 PetscReal hapbnd, tt; in KSPPIPEFGMRESCycle() local
227 hapbnd = PetscAbsScalar((tt) / *RS(loc_it)); in KSPPIPEFGMRESCycle()
229 hapbnd = PetscMin(pipefgmres->haptol, hapbnd); in KSPPIPEFGMRESCycle()
230 if (tt > hapbnd) { in KSPPIPEFGMRESCycle()
382 PetscReal hapbnd; in KSPPIPEFGMRESUpdateHessenberg() local
395 hapbnd = PetscMin(PetscAbsScalar(hh[it + 1] / rs[it]), pipefgmres->haptol); in KSPPIPEFGMRESUpdateHessenberg()
396 if (PetscAbsScalar(hh[it + 1]) < hapbnd) { in KSPPIPEFGMRESUpdateHessenberg()
397 …d = %14.12e H(%" PetscInt_FMT ",%" PetscInt_FMT ") = %14.12e\n", (double)hapbnd, it + 1, it, (doub… in KSPPIPEFGMRESUpdateHessenberg()
/petsc/src/ksp/ksp/impls/gmres/fgmres/
H A Dfgmres.c60 PetscReal hapbnd, tt; in KSPFGMRESCycle() local
141 hapbnd = PetscAbsScalar((tt) / *RS(loc_it)); in KSPFGMRESCycle()
143 hapbnd = PetscMin(fgmres->haptol, hapbnd); in KSPFGMRESCycle()
144 if (tt > hapbnd) { in KSPFGMRESCycle()
/petsc/src/ksp/ksp/impls/gmres/lgmres/
H A Dlgmres.c92 PetscReal hapbnd, tt; in KSPLGMRESCycle() local
195hapbnd = PetscAbsScalar(tt / *GRS(loc_it)); /* GRS(loc_it) contains the res_norm from the last ite… in KSPLGMRESCycle()
196 if (hapbnd > lgmres->haptol) hapbnd = lgmres->haptol; in KSPLGMRESCycle()
197 if (tt > hapbnd) { in KSPLGMRESCycle()
201 …cInfo(ksp, "Detected happy breakdown, current hapbnd = %g tt = %g\n", (double)hapbnd, (double)tt)); in KSPLGMRESCycle()
/petsc/src/ksp/ksp/impls/gmres/pgmres/
H A Dpgmres.c240 PetscReal hapbnd; in KSPPGMRESUpdateHessenberg() local
253 hapbnd = PetscMin(PetscAbsScalar(hh[it + 1] / rs[it]), pgmres->haptol); in KSPPGMRESUpdateHessenberg()
254 if (PetscAbsScalar(hh[it + 1]) < hapbnd) { in KSPPGMRESUpdateHessenberg()
255 …d = %14.12e H(%" PetscInt_FMT ",%" PetscInt_FMT ") = %14.12e\n", (double)hapbnd, it + 1, it, (doub… in KSPPGMRESUpdateHessenberg()
/petsc/src/ksp/ksp/impls/gmres/
H A Dgmres.c91 PetscReal res, hapbnd, tt; in KSPGMRESCycle() local
148 hapbnd = PetscAbsScalar(tt / *GRS(it)); in KSPGMRESCycle()
149 if (hapbnd > gmres->haptol) hapbnd = gmres->haptol; in KSPGMRESCycle()
150 if (tt < hapbnd) { in KSPGMRESCycle()
151 …sp, "Detected happy ending, current hapbnd = %14.12e tt = %14.12e\n", (double)hapbnd, (double)tt)); in KSPGMRESCycle()
/petsc/src/ksp/ksp/impls/gmres/dgmres/
H A Ddgmres.c107 PetscReal res_norm, res, hapbnd, tt; in KSPDGMRESCycle() local
169 hapbnd = PetscAbsScalar(tt / *GRS(it)); in KSPDGMRESCycle()
170 if (hapbnd > dgmres->haptol) hapbnd = dgmres->haptol; in KSPDGMRESCycle()
171 if (tt < hapbnd) { in KSPDGMRESCycle()
172 …cInfo(ksp, "Detected happy breakdown, current hapbnd = %g tt = %g\n", (double)hapbnd, (double)tt)); in KSPDGMRESCycle()