petsc-3.3-p7 2013-05-11

TSGLSetAcceptType

sets the acceptance test

Synopsis

#include "petscts.h"   
PetscErrorCode  TSGLSetAcceptType(TS ts,const TSGLAcceptType type)
Time integrators that need to control error must have the option to reject a time step based on local error estimates. This function allows different schemes to be set.

Logically Collective on TS

Input Parameters

ts - the TS context
type - the type

Options Database Key

-ts_gl_accept_type <type> -sets the method used to determine whether to accept or reject a step

See Also

TS, TSGL, TSGLAcceptRegisterDynamic(), TSGLAdapt, set type

Level:intermediate
Location:
src/ts/impls/implicit/gl/gl.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages