[petsc-dev] Patch providing PCCompositeGetNumPC
    Barry Smith 
    bsmith at mcs.anl.gov
       
    Wed Jun 17 23:54:33 CDT 2015
    
    
  
  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 <a.cramer at uq.edu.au> 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>
    
    
More information about the petsc-dev
mailing list