Andrew, Thanks, I have added your code to maint, master and next in commit 8e6eba0 with the small change that Num became Number. We don't like abbreviations in PETSc land :-)
Thanks Barry > On Jun 17, 2015, at 11:11 PM, Andrew Cramer <[email protected]> wrote: > > 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>
