Date: 2013-07-02T14:51:01+00:00

Actual source code: tsregall.c
petsc-3.4.2 2013-07-02

      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);

     19: /*@C
     20:   TSRegisterAll - Registers all of the timesteppers in the TS package.

     22:   Not Collective

     24:   Input parameter:
     25: . path - The dynamic library path

     27:   Level: advanced

     29: .keywords: TS, timestepper, register, all
     30: .seealso: TSCreate(), TSRegister(), TSRegisterDestroy()
     31: @*/
     32: PetscErrorCode  TSRegisterAll(void)
     33: {

     37:   TSRegisterAllCalled = PETSC_TRUE;

     39:   TSRegister(TSEULER,    TSCreate_Euler);
     40:   TSRegister(TSBEULER,   TSCreate_BEuler);
     41:   TSRegister(TSCN,       TSCreate_CN);
     42:   TSRegister(TSPSEUDO,   TSCreate_Pseudo);
     43:   TSRegister(TSGL,       TSCreate_GL);
     44:   TSRegister(TSSSP,      TSCreate_SSP);
     45:   TSRegister(TSTHETA,    TSCreate_Theta);
     46:   TSRegister(TSALPHA,    TSCreate_Alpha);
     47: #if defined(PETSC_HAVE_SUNDIALS)
     48:   TSRegister(TSSUNDIALS, TSCreate_Sundials);
     49: #endif
     50:   TSRegister(TSRK,       TSCreate_RK);
     51:   TSRegister(TSARKIMEX,  TSCreate_ARKIMEX);
     52:   TSRegister(TSROSW,     TSCreate_RosW);
     53:   TSRegister(TSEIMEX,    TSCreate_EIMEX);
     54:   return(0);
     55: }