#include "petscts.h" PetscErrorCode TSAdaptRegister(const char sname[],PetscErrorCode (*function)(TSAdapt))Not Collective Many br
name_scheme | - name of user-defined adaptivity scheme Many br | |
routine_create | - routine to create method context Many br |
TSAdaptRegister("my_scheme",MySchemeCreate);Many br
Then, your scheme can be chosen with the procedural interface via Many br
TSAdaptSetType(ts,"my_scheme")or at runtime via the option Many br
-ts_adapt_type my_scheme
Many br
Level:advanced
Location:src/ts/adapt/interface/tsadapt.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages