:orphan: # PCCompositeAddPC Adds another `PC` to the composite `PC`. ## Synopsis ``` #include "petscksp.h" PetscErrorCode PCCompositeAddPC(PC pc, PC subpc) ``` Collective ## Input Parameters - ***pc -*** the preconditioner context - ***subpc -*** the new preconditioner ## See Also `PCCOMPOSITE`, `PCCompositeAddPCType()`, `PCCompositeGetNumberPC()` ## Level intermediate ## Location src/ksp/pc/impls/composite/composite.c ## Implementations PCCompositeAddPC_Composite in src/ksp/pc/impls/composite/composite.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/composite/composite.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)