Lines Matching refs:inactive
11 IS inactive; member
141 PetscErrorCode PCLMVMSetIS(PC pc, IS inactive) in PCLMVMSetIS() argument
148 PetscValidHeaderSpecific(inactive, IS_CLASSID, 2); in PCLMVMSetIS()
153 PetscCall(PetscObjectReference((PetscObject)inactive)); in PCLMVMSetIS()
154 ctx->inactive = inactive; in PCLMVMSetIS()
178 PetscCall(ISDestroy(&ctx->inactive)); in PCLMVMClearIS()
189 if (ctx->inactive) { in PCApply_LMVM()
192 PetscCall(VecGetSubVector(ctx->xwork, ctx->inactive, &xsub)); in PCApply_LMVM()
194 PetscCall(VecRestoreSubVector(ctx->xwork, ctx->inactive, &xsub)); in PCApply_LMVM()
199 if (ctx->inactive) { in PCApply_LMVM()
200 PetscCall(VecGetSubVector(ctx->ywork, ctx->inactive, &ysub)); in PCApply_LMVM()
202 PetscCall(VecRestoreSubVector(ctx->ywork, ctx->inactive, &ysub)); in PCApply_LMVM()
289 PetscCall(ISDestroy(&ctx->inactive)); in PCDestroy_LMVM()