petsc-3.14.6 2021-03-30
Report Typos and Errors

TSSundialsGetIterations

Gets the number of nonlinear and linear iterations used so far by Sundials.

Synopsis

#include "petscts.h" 
PetscErrorCode  TSSundialsGetIterations(TS ts,int *nonlin,int *lin)
Not Collective

Input parameters

ts - the time-step context

Output Parameters

nonlin - number of nonlinear iterations
lin - number of linear iterations

Notes

These return the number since the creation of the TS object

See Also

TSSundialsSetType(), TSSundialsSetMaxl(),
TSSundialsSetLinearTolerance(), TSSundialsSetGramSchmidtType(), TSSundialsSetTolerance(), TSSundialsGetIterations(), TSSundialsSetType(), TSSundialsSetLinearTolerance(), TSSundialsGetPC(), TSSetExactFinalTime()

Level

advanced

Location

src/ts/impls/implicit/sundials/sundials.c

Implementations

TSSundialsGetIterations_Sundials in src/ts/impls/implicit/sundials/sundials.c

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages