aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2001-12-21 13:51:13 +0000
committertradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2001-12-21 13:51:13 +0000
commita94f87d414abf40237389c008a553838a34b4e97 (patch)
tree32cc25e7b39bebdcc673c8a5f061fcccc8bbf8a8
parentd8318fdebee5c23ad98c3838564f5f72934d6b99 (diff)
Added some macro definitions which used to be defined in PUGH before.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@59 1d96b42b-98df-4a6a-9d84-1b24288d4588
-rw-r--r--src/petsc_flat_solver.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/petsc_flat_solver.c b/src/petsc_flat_solver.c
index 10e3ecc..74e0216 100644
--- a/src/petsc_flat_solver.c
+++ b/src/petsc_flat_solver.c
@@ -29,6 +29,14 @@ CCTK_FILEVERSION(CactusElliptic_EllPETSc_petsc_flat_solver_c)
#define ELLCONV_RELATIVE 1
#define ELLCONV_EITHER 2
+/* direction macros */
+#define XDP 1
+#define XDM 0
+#define YDP 3
+#define YDM 2
+#define ZDP 5
+#define ZDM 4
+
/* A convenient macros for the stencil molecule*/
#define a(i,j,k) a[i+1 + 3*(j+1 + 3*(k+1))]