Searched refs:res_old (Results 1 – 2 of 2) sorted by relevance
440 PetscReal res_old, res; in KSPSolve_AGMRES() local463 res_old = ksp->rnorm; /* Record the residual norm to test if deflation is needed */ in KSPSolve_AGMRES()475 …test = agmres->max_k * PetscLogReal(ksp->rtol / res) / PetscLogReal(res / res_old); /* estimate th… in KSPSolve_AGMRES()
111 PetscReal res_old; in KSPDGMRESCycle() local135 res_old = res; in KSPDGMRESCycle()215 test = max_k * PetscLogReal(ksp->rtol / res) / PetscLogReal(res / res_old); in KSPDGMRESCycle()