Actual source code: tsregall.c
petsc-3.6.4 2016-04-12
2: #include <petsc/private/tsimpl.h> /*I "petscts.h" I*/
3: PETSC_EXTERN PetscErrorCode TSCreate_Euler(TS);
4: PETSC_EXTERN PetscErrorCode TSCreate_BEuler(TS);
5: PETSC_EXTERN PetscErrorCode TSCreate_Pseudo(TS);
6: PETSC_EXTERN PetscErrorCode TSCreate_Sundials(TS);
7: PETSC_EXTERN PetscErrorCode TSCreate_CN(TS);
8: PETSC_EXTERN PetscErrorCode TSCreate_Theta(TS);
9: PETSC_EXTERN PetscErrorCode TSCreate_Alpha(TS);
10: PETSC_EXTERN PetscErrorCode TSCreate_GL(TS);
11: PETSC_EXTERN PetscErrorCode TSCreate_SSP(TS);
12: PETSC_EXTERN PetscErrorCode TSCreate_RK(TS);
13: PETSC_EXTERN PetscErrorCode TSCreate_ARKIMEX(TS);
14: PETSC_EXTERN PetscErrorCode TSCreate_RosW(TS);
15: PETSC_EXTERN PetscErrorCode TSCreate_EIMEX(TS);
16: PETSC_EXTERN PetscErrorCode TSCreate_Mimex(TS);
20: /*@C
21: TSRegisterAll - Registers all of the timesteppers in the TS package.
23: Not Collective
25: Input parameter:
26: . path - The dynamic library path
28: Level: advanced
30: .keywords: TS, timestepper, register, all
31: .seealso: TSCreate(), TSRegister(), TSRegisterDestroy()
32: @*/
33: PetscErrorCode TSRegisterAll(void)
34: {
38: if (TSRegisterAllCalled) return(0);
39: TSRegisterAllCalled = PETSC_TRUE;
41: TSRegister(TSEULER, TSCreate_Euler);
42: TSRegister(TSBEULER, TSCreate_BEuler);
43: TSRegister(TSCN, TSCreate_CN);
44: TSRegister(TSPSEUDO, TSCreate_Pseudo);
45: TSRegister(TSGL, TSCreate_GL);
46: TSRegister(TSSSP, TSCreate_SSP);
47: TSRegister(TSTHETA, TSCreate_Theta);
48: TSRegister(TSALPHA, TSCreate_Alpha);
49: #if defined(PETSC_HAVE_SUNDIALS)
50: TSRegister(TSSUNDIALS, TSCreate_Sundials);
51: #endif
52: TSRegister(TSRK, TSCreate_RK);
53: TSRegister(TSARKIMEX, TSCreate_ARKIMEX);
54: TSRegister(TSROSW, TSCreate_RosW);
55: TSRegister(TSEIMEX, TSCreate_EIMEX);
56: TSRegister(TSMIMEX, TSCreate_Mimex);
57: return(0);
58: }