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

TSSetConvergedReason

Sets the reason for handling the convergence of TSSolve.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSSetConvergedReason(TS ts,TSConvergedReason reason)
Logically Collective; reason must contain common value

Input Parameters

ts - the TS context
reason - negative value indicates diverged, positive value converged, see TSConvergedReason or the manual pages for the individual convergence tests for complete lists

Notes

Can only be called while TSSolve() is active.

See Also

TSConvergedReason

Level

advanced

Location

src/ts/interface/ts.c

Examples

src/ts/utils/dmplexlandau/tutorials/ex2.c.html

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