Hi Dev,
I was recently using PCCompositeGetPC and noticed a lack of a function to provide the number of sub PCs in the composite PC. This is a patch that provides a function PCCompositeGetNumPC(PC,PetscInt *) so you can access the sub-pcs safely. Thanks for the great work you guys do, Andrew Cramer
0001-PCComposite-Add-PCCompositeGetNumPC-function.patch
Description: 0001-PCComposite-Add-PCCompositeGetNumPC-function.patch
