[petsc-dev] Patch providing PCCompositeGetNumPC

Andrew Cramer a.cramer at uq.edu.au
Wed Jun 17 23:11:53 CDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150618/936b78a8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PCComposite-Add-PCCompositeGetNumPC-function.patch
Type: application/octet-stream
Size: 4069 bytes
Desc: 0001-PCComposite-Add-PCCompositeGetNumPC-function.patch
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150618/936b78a8/attachment.obj>


More information about the petsc-dev mailing list