summaryrefslogtreecommitdiff
path: root/src/main/Subsystems.c
blob: b8e21f560c62c9b520987a26f797509115e1a354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
 /*@@
   @file      Subsystems.c
   @date      Fri Jul 23 14:38:25 1999
   @author    Tom Goodale
   @desc 
   Misc stuff for the subsystems.
   @enddesc 
   @version $Header$
 @@*/

#include "cctk_Flesh.h"
#include "CactusRegister.h"

static const char *rcsid = "$Header$";

CCTK_FILEVERSION(main_Subsystems_c)

/********************************************************************
 *********************     Local Data Types   ***********************
 ********************************************************************/

/********************************************************************
 ********************* Local Routine Prototypes *********************
 ********************************************************************/

/********************************************************************
 ********************* Other Routine Prototypes *********************
 ********************************************************************/

/********************************************************************
 *********************     Local Data   *****************************
 ********************************************************************/

/********************************************************************
 *********************     External Routines   **********************
 ********************************************************************/

 /*@@
   @routine    CCTKi_InitialiseSubsystemDefaults
   @date       Fri Jul 23 14:39:53 1999
   @author     Tom Goodale
   @desc 
   Sets up the defaults for the overloadable functions in the subsystems.
   @enddesc 
   @calls     CCTKi_SetupMainFunctions CCTKi_SetupCommFunctions CCTKi_SetupIOFunctions CCTKi_BindingsImplementationsInitialise CCTKi_BindingsParametersInitialise
   @calledby   
   @history 
 
   @endhistory 

   @returntype int
   @returndesc
   0  - success
   @endreturndesc

@@*/

int CCTKi_InitialiseSubsystemDefaults(void)
{
  CCTKi_SetupMainFunctions();
  CCTKi_SetupCommFunctions();
  CCTKi_SetupIOFunctions();
  CCTKBindings_SetupThornFunctions();
  CCTKi_BindingsImplementationsInitialise();
  CCTKi_BindingsParametersInitialise();
  
  return 0;
}

/********************************************************************
 *********************     Local Routines   *************************
 ********************************************************************/