Lines Matching refs:subpc
345 static PetscErrorCode PCCompositeAddPC_Composite(PC pc, PC subpc) in PCCompositeAddPC_Composite() argument
356 ilink->pc = subpc; in PCCompositeAddPC_Composite()
373 PetscCall(PCSetOptionsPrefix(subpc, prefix)); in PCCompositeAddPC_Composite()
375 PetscCall(PCAppendOptionsPrefix(subpc, newprefix)); in PCCompositeAddPC_Composite()
376 PetscCall(PetscObjectReference((PetscObject)subpc)); in PCCompositeAddPC_Composite()
382 PC subpc; in PCCompositeAddPCType_Composite() local
385 PetscCall(PCCreate(PetscObjectComm((PetscObject)pc), &subpc)); in PCCompositeAddPCType_Composite()
386 PetscCall(PetscObjectIncrementTabLevel((PetscObject)subpc, (PetscObject)pc, 1)); in PCCompositeAddPCType_Composite()
387 PetscCall(PCCompositeAddPC_Composite(pc, subpc)); in PCCompositeAddPCType_Composite()
389 PetscCall(PCSetType(subpc, type)); in PCCompositeAddPCType_Composite()
390 PetscCall(PCDestroy(&subpc)); in PCCompositeAddPCType_Composite()
410 static PetscErrorCode PCCompositeGetPC_Composite(PC pc, PetscInt n, PC *subpc) in PCCompositeGetPC_Composite() argument
423 *subpc = next->pc; in PCCompositeGetPC_Composite()
543 PetscErrorCode PCCompositeAddPC(PC pc, PC subpc) in PCCompositeAddPC() argument
547 PetscValidHeaderSpecific(subpc, PC_CLASSID, 2); in PCCompositeAddPC()
548 PetscTryMethod(pc, "PCCompositeAddPC_C", (PC, PC), (pc, subpc)); in PCCompositeAddPC()
596 PetscErrorCode PCCompositeGetPC(PC pc, PetscInt n, PC *subpc) in PCCompositeGetPC() argument
600 PetscAssertPointer(subpc, 3); in PCCompositeGetPC()
601 PetscUseMethod(pc, "PCCompositeGetPC_C", (PC, PetscInt, PC *), (pc, n, subpc)); in PCCompositeGetPC()