Searched refs:xsub (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/pc/impls/redundant/ |
| H A D | redundant.c | 10 …Vec xsub, ysub; /* vectors of a subcommunicator to hold parallel vectors… member 113 PetscCall(MatCreateVecs(red->pmats, &red->xsub, &red->ysub)); in PCSetUp_Redundant() 198 PetscCall(VecPlaceArray(red->xsub, (const PetscScalar *)array)); in PCApply_Redundant() 201 PetscCall(KSPSolve(red->ksp, red->xsub, red->ysub)); in PCApply_Redundant() 203 PetscCall(VecResetArray(red->xsub)); in PCApply_Redundant() 236 PetscCall(VecPlaceArray(red->xsub, (const PetscScalar *)array)); in PCApplyTranspose_Redundant() 239 PetscCall(KSPSolveTranspose(red->ksp, red->xsub, red->ysub)); in PCApplyTranspose_Redundant() 241 PetscCall(VecResetArray(red->xsub)); in PCApplyTranspose_Redundant() 265 PetscCall(VecDestroy(&red->xsub)); in PCReset_Redundant()
|
| /petsc/src/ksp/pc/impls/lmvm/ |
| H A D | lmvmpc.c | 185 Vec xsub, ysub, Bx = x, By = y; in PCApply_LMVM() local 192 PetscCall(VecGetSubVector(ctx->xwork, ctx->inactive, &xsub)); in PCApply_LMVM() 193 PetscCall(VecCopy(x, xsub)); in PCApply_LMVM() 194 PetscCall(VecRestoreSubVector(ctx->xwork, ctx->inactive, &xsub)); in PCApply_LMVM()
|
| /petsc/src/ksp/pc/impls/bjacobi/ |
| H A D | bjacobi.h | 42 …Vec xsub, ysub; /* vectors of a subcommunicator to hold parallel vectors of PetscObjectCo… member
|
| H A D | bjacobi.c | 1168 PetscCall(VecDestroy(&mpjac->xsub)); in PCReset_BJacobi_Multiproc() 1202 PetscCall(VecPlaceArray(mpjac->xsub, xarray)); 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() 1209 PetscCall(PetscLogEventEnd(PC_ApplyOnBlocks, jac->ksp[0], mpjac->xsub, mpjac->ysub, 0)); in PCApply_BJacobi_Multiproc() 1213 PetscCall(VecResetArray(mpjac->xsub)); in PCApply_BJacobi_Multiproc() 1305 PetscCall(VecCreateMPIWithArray(subcomm, 1, n, PETSC_DECIDE, NULL, &mpjac->xsub)); in PCSetUp_BJacobi_Multiproc() 1308 PetscCall(VecSetType(mpjac->xsub, vectype)); in PCSetUp_BJacobi_Multiproc()
|