Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/redundant/
H A Dredundant.c10 …Vec xsub, ysub; /* vectors of a subcommunicator to hold parallel vectors… member
113 PetscCall(MatCreateVecs(red->pmats, &red->xsub, &red->ysub)); in PCSetUp_Redundant()
201 PetscCall(KSPSolve(red->ksp, red->xsub, red->ysub)); in PCApply_Redundant()
202 PetscCall(KSPCheckSolve(red->ksp, pc, red->ysub)); in PCApply_Redundant()
207 PetscCall(VecGetArray(red->ysub, &array)); in PCApply_Redundant()
214 PetscCall(VecRestoreArray(red->ysub, &array)); in PCApply_Redundant()
239 PetscCall(KSPSolveTranspose(red->ksp, red->xsub, red->ysub)); in PCApplyTranspose_Redundant()
240 PetscCall(KSPCheckSolve(red->ksp, pc, red->ysub)); in PCApplyTranspose_Redundant()
245 PetscCall(VecGetArray(red->ysub, &array)); in PCApplyTranspose_Redundant()
252 PetscCall(VecRestoreArray(red->ysub, &array)); in PCApplyTranspose_Redundant()
[all …]
/petsc/src/ksp/pc/impls/lmvm/
H A Dlmvmpc.c185 Vec xsub, ysub, Bx = x, By = y; in PCApply_LMVM() local
200 PetscCall(VecGetSubVector(ctx->ywork, ctx->inactive, &ysub)); in PCApply_LMVM()
201 PetscCall(VecCopy(ysub, y)); in PCApply_LMVM()
202 PetscCall(VecRestoreSubVector(ctx->ywork, ctx->inactive, &ysub)); in PCApply_LMVM()
/petsc/src/ksp/pc/impls/bjacobi/
H A Dbjacobi.h42 …Vec xsub, ysub; /* vectors of a subcommunicator to hold parallel vectors of PetscObjectCo… member
H A Dbjacobi.c1167 PetscCall(VecDestroy(&mpjac->ysub)); in PCReset_BJacobi_Multiproc()
1203 PetscCall(VecPlaceArray(mpjac->ysub, yarray)); in PCApply_BJacobi_Multiproc()
1206 PetscCall(PetscLogEventBegin(PC_ApplyOnBlocks, jac->ksp[0], mpjac->xsub, mpjac->ysub, 0)); in PCApply_BJacobi_Multiproc()
1207 PetscCall(KSPSolve(jac->ksp[0], mpjac->xsub, mpjac->ysub)); in PCApply_BJacobi_Multiproc()
1208 PetscCall(KSPCheckSolve(jac->ksp[0], pc, mpjac->ysub)); in PCApply_BJacobi_Multiproc()
1209 PetscCall(PetscLogEventEnd(PC_ApplyOnBlocks, jac->ksp[0], mpjac->xsub, mpjac->ysub, 0)); in PCApply_BJacobi_Multiproc()
1214 PetscCall(VecResetArray(mpjac->ysub)); in PCApply_BJacobi_Multiproc()
1306 PetscCall(VecCreateMPIWithArray(subcomm, 1, m, PETSC_DECIDE, NULL, &mpjac->ysub)); in PCSetUp_BJacobi_Multiproc()
1309 PetscCall(VecSetType(mpjac->ysub, vectype)); in PCSetUp_BJacobi_Multiproc()