Home
last modified time | relevance | path

Searched refs:Pold (Results 1 – 4 of 4) sorted by relevance

/petsc/src/ksp/ksp/impls/fcg/pipefcg/
H A Dpipefcgimpl.h11 …*Cvecs, *Svecs, **pQvecs, **pZETAvecs, **pPvecs, **pCvecs, **pSvecs, *Qold, *ZETAold, *Pold, *Sold; member
H A Dpipefcg.c68 …PetscCall(PetscMalloc4(pipefcg->mmax + 1, &pipefcg->Pold, pipefcg->mmax + 1, &pipefcg->Sold, pipef… in KSPSetUp_PIPEFCG()
210 pipefcg->Pold[j] = pipefcg->Pvecs[kdx]; in KSPSolve_PIPEFCG_cycle()
250 … PetscCall(VecMAXPY(Pcurr, j, betas, pipefcg->Pold)); /* pi <- ui - sum_k beta_k p_k */ in KSPSolve_PIPEFCG_cycle()
354 PetscCall(PetscFree4(pipefcg->Pold, pipefcg->Sold, pipefcg->Qold, pipefcg->ZETAold)); in KSPDestroy_PIPEFCG()
/petsc/src/ksp/ksp/impls/fcg/
H A Dfcg.c178 Vec *Pold, *Cold; in KSPSolve_FCG() local
181 PetscCall(PetscMalloc3(ndots, &dots, ndots, &Cold, ndots, &Pold)); in KSPSolve_FCG()
185 Pold[j] = fcg->Pvecs[idx]; in KSPSolve_FCG()
189 PetscCall(VecMAXPY(Pcurr, ndots, dots, Pold)); in KSPSolve_FCG()
190 PetscCall(PetscFree3(dots, Cold, Pold)); in KSPSolve_FCG()
/petsc/src/ksp/pc/impls/gamg/
H A Dgamg.c65 Mat Cmat = NULL, Pold = *a_P_inout; in PCGAMGCreateLevel_GAMG() local
79 PetscCall(MatGetLocalSize(Pold, NULL, &ncrs_eq)); in PCGAMGCreateLevel_GAMG()
84 PetscCall(MatGetBlockSizes(Pold, NULL, &bs)); in PCGAMGCreateLevel_GAMG()
133 PetscCall(MatGetSize(Pold, NULL, &ncrs_eq_glob)); in PCGAMGCreateLevel_GAMG()
144 PetscCall(MatPtAP(Amat_fine, Pold, MAT_INITIAL_MATRIX, 2.0, a_Amat_crs)); in PCGAMGCreateLevel_GAMG()
189 PetscCall(MatPtAP(Amat_fine, Pold, MAT_INITIAL_MATRIX, 2.0, a_Amat_crs)); in PCGAMGCreateLevel_GAMG()
201 PetscCall(MatPtAP(Amat_fine, Pold, MAT_INITIAL_MATRIX, 2.0, &Cmat)); in PCGAMGCreateLevel_GAMG()
450 PetscCall(MatGetOwnershipRange(Pold, &Istart, &Iend)); in PCGAMGCreateLevel_GAMG()
453 PetscCall(MatCreateSubMatrix(Pold, findices, new_eq_indices, MAT_INITIAL_MATRIX, &Pnew)); in PCGAMGCreateLevel_GAMG()