aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/petsc_confmetric_solver.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/petsc_confmetric_solver.c b/src/petsc_confmetric_solver.c
index 8b58428..0219ed3 100644
--- a/src/petsc_confmetric_solver.c
+++ b/src/petsc_confmetric_solver.c
@@ -30,6 +30,14 @@ CCTK_FILEVERSION(CactusElliptic_EllPETSc_petsc_confmetric_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 few convenient macros */
#define a(i,j,k) a[i+1 + 3*(j+1 + 3*(k+1))]
#define SQR(a) ((a)*(a))