aboutsummaryrefslogtreecommitdiff
path: root/src/include/pugh.h
diff options
context:
space:
mode:
authorgoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-02-09 13:07:08 +0000
committergoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-02-09 13:07:08 +0000
commitd919ae097799902d0e222874832dcd6a2206d0a5 (patch)
tree0fd0e7e910d6c97c5785ca3c428ea4e1f5bc77b6 /src/include/pugh.h
parente3d49cea21dfeddf50636ea42d11ae4968f3b1a9 (diff)
Now creates all variable types except arrays.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@6 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/include/pugh.h')
-rw-r--r--src/include/pugh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/pugh.h b/src/include/pugh.h
index 673eea0..9675da9 100644
--- a/src/include/pugh.h
+++ b/src/include/pugh.h
@@ -11,17 +11,24 @@
@version $Id$
@@*/
+/*
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <malloc.h>
#include <assert.h>
+*/
/* 3 ways up shutting down: */
+/*
#define STOP cshutdown(0);
#define ABORT cabort(0);
#define CORE ccore();
+*/
+#define STOP exit(0);
+#define ABORT exit(1);
+#define CORE exit(2);
/* Two ways to shut down with a non-zero exit code. */
#define ERROR_STOP(xerrcode) cshutdown(xerrcode);
@@ -60,6 +67,7 @@ void cactus_free(void *);
#include "TCP++/CommandProcessor.h"
#endif
+#ifdef 0
/* Handle precision */
#ifdef SINGLE_PRECISION
#define PUGH_MPI_TYPE MPI_FLOAT
@@ -68,6 +76,7 @@ typedef float Double;
#define PUGH_MPI_TYPE MPI_DOUBLE
typedef double Double;
#endif
+#endif
#include "pugh_constants.h"