Searched refs:PREVEC (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/impls/gmres/pipefgmres/ |
| H A D | pipefgmres.c | 108 PetscCall(KSP_PCApply(ksp, VEC_VV(loc_it), PREVEC(loc_it))); in KSPPIPEFGMRESCycle() 110 PetscCall(KSP_MatMult(ksp, Amat, PREVEC(loc_it), ZVEC(loc_it))); in KSPPIPEFGMRESCycle() 213 PetscCall(VecCopy(Q, PREVEC(loc_it + 1))); in KSPPIPEFGMRESCycle() 214 PetscCall(VecMAXPY(PREVEC(loc_it + 1), loc_it + 1, lhh, &PREVEC(0))); in KSPPIPEFGMRESCycle() 215 if (tt) PetscCall(VecScale(PREVEC(loc_it + 1), 1.0 / tt)); in KSPPIPEFGMRESCycle() 367 PetscCall(VecMAXPBY(VEC_TEMP, it + 1, nrs, 0, &PREVEC(0))); in KSPPIPEFGMRESBuildSoln()
|
| H A D | pipefgmresimpl.h | 43 #define PREVEC(i) pipefgmres->prevecs[i] /* use to access preconditioned basis */ macro
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ |
| H A D | fgmresimpl.h | 40 #define PREVEC(i) \ macro
|
| H A D | fgmres.c | 123 PetscCall(KSP_PCApply(ksp, VEC_VV(loc_it), PREVEC(loc_it))); in KSPFGMRESCycle() 127 PetscCall(KSP_MatMult(ksp, Amat, PREVEC(loc_it), VEC_VV(1 + loc_it))); in KSPFGMRESCycle() 290 PetscCall(VecMAXPBY(VEC_TEMP, it + 1, nrs, 0, &PREVEC(0))); in KSPFGMRESBuildSoln()
|