TSGetNumEvents#

Get the numbers of events currently set to be detected

Synopsis#

#include "petscts.h" 
PetscErrorCode TSGetNumEvents(TS ts, PetscInt *nevents)

Logically Collective

Input Parameter#

  • ts - the TS context

Output Parameter#

  • nevents - the number of events

See Also#

TS: Scalable ODE and DAE Solvers, TSEvent, TSSetEventHandler()

Level#

intermediate

Location#

src/ts/event/tsevent.c


Edit on GitLab

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