aboutsummaryrefslogtreecommitdiff
path: root/src/include/pugh.h
diff options
context:
space:
mode:
authorgoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-02-17 17:38:50 +0000
committergoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-02-17 17:38:50 +0000
commitc06576a3bcd5cace72592c6041e6fb2827ffbff6 (patch)
tree5565cc938c0841bcf8372b15496b72b6b98b221f /src/include/pugh.h
parent539cd2636da010382f41c9ff1ba237ec080e5341 (diff)
Untabified.
Got rid of redundant file. Did some formatting changes in line with the coding guidelines. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@164 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/include/pugh.h')
-rw-r--r--src/include/pugh.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/pugh.h b/src/include/pugh.h
index 4576cca..26d27ae 100644
--- a/src/include/pugh.h
+++ b/src/include/pugh.h
@@ -8,11 +8,11 @@
@seefile pughProtos.h for the pugh bit, and @seefile
pughProblem.h for the cactus-specific bits.
@enddesc
- @version $Id$
+ @version $Header$
@@*/
#ifndef _PUGH_H_
-#define _PUGH_H_
+#define _PUGH_H_ 1
#include "cctk.h"
@@ -73,16 +73,16 @@
#define CACTUS_MPI_ERROR(xf) do {int errcode; \
if((errcode = xf) != MPI_SUCCESS) \
- { \
- char mpi_error_string[MPI_MAX_ERROR_STRING+1]; \
- int resultlen; \
- MPI_Error_string(errcode, mpi_error_string, &resultlen);\
- fprintf(stderr, "MPI Call %s returned error code %d (%s)\n", \
+ { \
+ char mpi_error_string[MPI_MAX_ERROR_STRING+1]; \
+ int resultlen; \
+ MPI_Error_string(errcode, mpi_error_string, &resultlen);\
+ fprintf(stderr, "MPI Call %s returned error code %d (%s)\n", \
#xf, errcode, mpi_error_string); \
- fprintf(stderr, "At line %d of file %s\n", \
- __LINE__, __FILE__); \
- } \
- } while (0)
+ fprintf(stderr, "At line %d of file %s\n", \
+ __LINE__, __FILE__); \
+ } \
+ } while (0)
#endif
#ifdef _cplusplus
@@ -105,10 +105,10 @@ int PUGH_SetupGroup
);
pGH *PUGH_SetupPGH(void *callerid,
- int dim,
- int *nsize,
- int *nghostzones,
- int staggertype);
+ int dim,
+ int *nsize,
+ int *nghostzones,
+ int staggertype);
int pugh_GFSize(int dim,
int *nsize);