Searched refs:tmpvecs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/impls/cg/ |
| H A D | cg.c | 369 Vec X, B, Z, R, P, S, W, tmpvecs[2]; in KSPSolve_CG_SingleReduction() local 500 tmpvecs[0] = S; in KSPSolve_CG_SingleReduction() 501 tmpvecs[1] = R; in KSPSolve_CG_SingleReduction() 503 PetscCall(VecMDot(Z, 2, tmpvecs, tmp)); /* delta <- z'*A*z = r'*B*A*B*r */ in KSPSolve_CG_SingleReduction() 522 tmpvecs[0] = S; in KSPSolve_CG_SingleReduction() 523 tmpvecs[1] = R; in KSPSolve_CG_SingleReduction() 524 PetscCall(VecMDot(Z, 2, tmpvecs, tmp)); in KSPSolve_CG_SingleReduction()
|