FORTRAN usage of SNESSetConvergenceHistory

Barry Smith bsmith at mcs.anl.gov
Mon Aug 6 22:51:57 CDT 2007


  Paul,

    Yes it is intended one can use them from Fortran. Note from the manual
page for SNESGetConvergenceHistory() it does not return the arrays, just the 
count. You must keep around the arrays you passed into 
SNESSetConvergenceHistory() and read from them.

   Barry


On Mon, 6 Aug 2007, Paul T. Bauman wrote:

> Hello,
> 
> Is it possible to use SNESSetConvergenceHistory/SNESGetConvergenceHistory with
> FORTRAN?  Thanks,
> 
> Paul
> 
> 




More information about the petsc-users mailing list