Sets the array used to hold the convergence history.
snes - iterative context obtained from
a - array to hold history, this array will contain the function norms computed at each step
its - integer array holds the number of linear iterations for each solve.
na - size of a and its
PETSC_TRUEindicates each new nonlinear solve resets the history counter to zero, else it continues storing new values for new nonlinear solves after the old ones
This routine is useful, e.g., when running a code for purposes of accurate performance monitoring, when no I/O should be done during the section of code that is being timed.