petsc-3.7.1 2016-05-15
Report Typos and Errors

TSSetEventTolerances

Set tolerances for event zero crossings when using event handler

Synopsis

#include "petscts.h" 
PetscErrorCode TSSetEventTolerances(TS ts,PetscReal tol,PetscReal vtol[])
Logically Collective Many br

Input Arguments

ts - time integration context Many br
tol - scalar tolerance, PETSC_DECIDE to leave current value Many br
vtol - array of tolerances or NULL, used in preference to tol if present Many br

Options Database Keys

-ts_event_tol <tol> tolerance for event zero crossing - Many brNotes: Many brMust call TSSetEventHandler() before setting the tolerances. Many br

The size of vtol is equal to the number of events. Many br

Many br

See Also

TS, TSEvent, TSSetEventHandler()

Level:beginner
Location:
src/ts/event/tsevent.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages