[petsc-users] KSP structure and understanding some PETSc functions, .

Barry Smith bsmith at mcs.anl.gov
Sun Apr 3 21:51:57 CDT 2011


On Apr 3, 2011, at 8:45 PM, Gaurish Telang wrote:

> Hi,
> 
> Where can I find the details of the ksp data structure? Specifically I wish to understand what ksp->converged, ksp->reason, and  ksp>cnvP mean. 

   include/private/kspimpl.h
> 
> Also I think the functions PetscObjecttakeAccess and PetscObjectGrantAccess are undocumented. What do these functions do? 

    These are currently unused and can be ignored; there is no reason to put them in the code.

    Barry

> 
> Thanks,
> 
> Gaurish. 
>  



More information about the petsc-users mailing list