Actual source code: tsregall.c
petsc-3.8.4 2018-03-24
2: #include <petsc/private/tsimpl.h>
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_Alpha2(TS);
11: PETSC_EXTERN PetscErrorCode TSCreate_GLLE(TS);
12: PETSC_EXTERN PetscErrorCode TSCreate_SSP(TS);
13: PETSC_EXTERN PetscErrorCode TSCreate_RK(TS);
14: PETSC_EXTERN PetscErrorCode TSCreate_ARKIMEX(TS);
15: PETSC_EXTERN PetscErrorCode TSCreate_RosW(TS);
16: PETSC_EXTERN PetscErrorCode TSCreate_EIMEX(TS);
17: PETSC_EXTERN PetscErrorCode TSCreate_Mimex(TS);
18: PETSC_EXTERN PetscErrorCode TSCreate_BDF(TS);
19: PETSC_EXTERN PetscErrorCode TSCreate_GLEE(TS);
21: /*@C
22: TSRegisterAll - Registers all of the timesteppers in the TS package.
24: Not Collective
26: Input parameter:
27: . path - The dynamic library path
29: Level: advanced
31: .keywords: TS, timestepper, register, all
32: .seealso: TSCreate(), TSRegister(), TSRegisterDestroy()
33: @*/
34: PetscErrorCode TSRegisterAll(void)
35: {
39: if (TSRegisterAllCalled) return(0);
40: TSRegisterAllCalled = PETSC_TRUE;
42: TSRegister(TSEULER, TSCreate_Euler);
43: TSRegister(TSBEULER, TSCreate_BEuler);
44: TSRegister(TSCN, TSCreate_CN);
45: TSRegister(TSPSEUDO, TSCreate_Pseudo);
46: TSRegister(TSGLLE, TSCreate_GLLE);
47: TSRegister(TSSSP, TSCreate_SSP);
48: TSRegister(TSTHETA, TSCreate_Theta);
49: TSRegister(TSALPHA, TSCreate_Alpha);
50: TSRegister(TSALPHA2, TSCreate_Alpha2);
51: #if defined(PETSC_HAVE_SUNDIALS)
52: TSRegister(TSSUNDIALS, TSCreate_Sundials);
53: #endif
54: TSRegister(TSRK, TSCreate_RK);
55: TSRegister(TSGLEE, TSCreate_GLEE);
56: TSRegister(TSARKIMEX, TSCreate_ARKIMEX);
57: TSRegister(TSROSW, TSCreate_RosW);
58: TSRegister(TSEIMEX, TSCreate_EIMEX);
59: TSRegister(TSMIMEX, TSCreate_Mimex);
60: TSRegister(TSBDF, TSCreate_BDF);
61: return(0);
62: }