summaryrefslogtreecommitdiff
path: root/src/main/Dummies.c
blob: d6c63d5448628f1c88862c794de93fb1529b67e5 (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
 /*@@
   @file      Dummies.c
   @date      Tue Feb  2 18:56:38 1999
   @author    Tom Goodale
   @desc 
   A file to contain some dummy functions until the real ones are written. 
   @enddesc 
 @@*/

#include "Dummies.h"
#include "cctk_Flesh.h"
#include "cctk_WarnLevel.h"

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

CCTK_FILEVERSION(main_Dummies_c);

int CCTKi_DummyStorageOn(void *GH, int group)
{
  GH = GH;
  group = group;
  CCTK_VWarn (0, __LINE__, __FILE__, "Cactus",
              "No driver thorn activated to provide storage for variables");
  return 0;
}

int CCTKi_DummyStorageOff(void *GH, int group)
{
  GH = GH;
  group = group;
  CCTK_VWarn (0, __LINE__, __FILE__, "Cactus",
              "No driver thorn activated to provide storage for variables");
  return 0;
}

int CCTKi_DummyCommunicationOn(void *GH, int group)
{
  GH = GH;
  group = group;
  CCTK_VWarn (0, __LINE__, __FILE__, "Cactus",
              "No driver thorn activated to provide communication for variables");
  return 0;
}

int CCTKi_DummyCommunicationOff(void *GH, int group)
{
  GH = GH;
  group = group;
  CCTK_VWarn (0, __LINE__, __FILE__, "Cactus",
              "No driver thorn activated to provide communication for variables");
  return 0;
}

int CCTKi_DummyTriggerable(int variable)
{
  variable = variable;
  return 0;
}

int CCTKi_DummyTriggerSaysGo(void *GH, int variable)
{
  GH = GH;
  variable = variable;
  return 1;
}

int CCTKi_DummyTriggerAction(void *GH, int group)
{
  GH = GH;
  group = group;
  return 0;
}