1 #ifdef PETSC_RCS_HEADER 2 static char vcid[] = "$Id: tsregall.c,v 1.18 1998/04/22 14:24:17 curfman Exp curfman $"; 3 #endif 4 5 #include "src/ts/tsimpl.h" /*I "ts.h" I*/ 6 extern int TSCreate_Euler(TS); 7 extern int TSCreate_BEuler(TS); 8 extern int TSCreate_Pseudo(TS); 9 extern int TSCreate_PVode(TS); 10 11 #undef __FUNC__ 12 #define __FUNC__ "TSRegisterAll" 13 /*@C 14 TSRegisterAll - Registers all of the timesteppers in the TS 15 package. 16 17 Not Collective 18 19 .keywords: TS, timestepper, register, all 20 21 .seealso: TSRegisterDestroy() 22 @*/ 23 int TSRegisterAll(char *path) 24 { 25 PetscFunctionBegin; 26 TSRegisterAllCalled = 1; 27 28 TSRegister(TS_EULER, path,"TSCreate_Euler", TSCreate_Euler); 29 TSRegister(TS_BEULER, path,"TSCreate_BEuler",TSCreate_BEuler); 30 TSRegister(TS_CRANK_NICHOLSON, path,"TSCreate_CN",TSCreate_CN); 31 TSRegister(TS_PSEUDO, path,"TSCreate_Pseudo",TSCreate_Pseudo); 32 #if defined(HAVE_PVODE) && !defined(__cplusplus) 33 TSRegister(TS_PVODE, path,"TSCreate_PVode", TSCreate_PVode); 34 #endif 35 PetscFunctionReturn(0); 36 } 37