summaryrefslogtreecommitdiff
path: root/src/main/CallStartupFunctions.c
blob: decaed09e31cc74fbe0d3cdafba8db32a32f6ce5 (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
 /*@@
   @file      CCTKi_CallStartupFunctions.c
   @date      Mon Sep 28 14:16:19 1998
   @author    Tom Goodale
   @desc
              Contains routines to deal with thorn startup functions.
   @enddesc
   @version   $Id$
 @@*/

#include <stdio.h>
#include <stdlib.h>

#include "cctk_Flesh.h"
#include "cctk_Schedule.h"

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

CCTK_FILEVERSION(main_CallStartupFunctions_c);

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

 /*@@
   @routine    CCTKi_CallStartupFunctions
   @date       Mon Sep 28 14:24:39 1998
   @author     Tom Goodale
   @desc
               Calls CCTK_ScheduleTraverse() on "CCTK_STARTUP"
   @enddesc
   @calls      CCTK_ScheduleTraverse

   @var        ConfigData
   @vdesc      Flesh configuration data
   @vtype      tFleshConfig *
   @vio        in
   @endvar

   @returntype int
   @returndesc
               0  - success
   @endreturndesc
@@*/

int CCTKi_CallStartupFunctions (tFleshConfig *ConfigData)
{
  ConfigData = ConfigData;

  CCTK_ScheduleTraverse ("CCTK_STARTUP", NULL, NULL);

  return (0);
}