summaryrefslogtreecommitdiff
path: root/src/main/rfrInterface.c
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-03-07 12:40:35 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-03-07 12:40:35 +0000
commitd56c1da52bee833a6722a876ca19bbd07a2c2995 (patch)
treecb4e917fe4eef05d8c77758e5bd733db95ee1273 /src/main/rfrInterface.c
parent6ea7c8c82b352a96c4bf0bd0315cde127d057ef4 (diff)
Removed rfrTriggerAction and rfrTriggerSAysGo
git-svn-id: http://svn.cactuscode.org/flesh/trunk@380 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/rfrInterface.c')
-rw-r--r--src/main/rfrInterface.c41
1 files changed, 31 insertions, 10 deletions
diff --git a/src/main/rfrInterface.c b/src/main/rfrInterface.c
index 5fe1c456..003fcee6 100644
--- a/src/main/rfrInterface.c
+++ b/src/main/rfrInterface.c
@@ -13,7 +13,9 @@
#include "GHExtensions.h"
#include "Groups.h"
#include "CactusrfrInterface.h"
+#include "rfr_constants.h"
#include "CactusCommFunctions.h"
+#include "IOMethods.h"
static char *rcsid = "$Header$";
@@ -189,20 +191,39 @@ int CCTK_rfrCommunicationOff(void *GH, int group)
return retcode;
}
-int CCTK_rfrTriggerable(int variable)
-{
- return 0;
-}
+ /*@@
+ @routine CCTK_rfrTriggerable
+ @date Sat March 6 1999
+ @author Gabrielle Allen
+ @desc
+ Returns true if this rfr entry point should be triggerable
+ for some event, otherwise returns false in which case none
+ of the triggers stuff is done.
+ @enddesc
+ @calls
+ @calledby
+ @history
+
+ @endhistory
+ @var entrypoint
+ @vdesc describes the entrypoint of the RFR
+ @vtype int
+ @vio in
+ @vcomment RFR entrypoint macros are in src/include/rfr_constants.h
+ @endvar
+@@*/
-int CCTK_rfrTriggerSaysGo(int variable)
+int CCTK_rfrTriggerable(int entrypoint)
{
- return 0;
+ if (entrypoint == CACTUS_ANALYSIS)
+ {
+ return 1;
+ }
+ else
+ return 0;
}
-int CCTK_rfrTriggerAction(void *GH, int group)
-{
- return 0;
-}
+
/*@@
@routine CCTK_rfrCallFunc