aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionNorm3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ReductionNorm3.c')
-rw-r--r--src/ReductionNorm3.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ReductionNorm3.c b/src/ReductionNorm3.c
index 63a8b88..a6b5a79 100644
--- a/src/ReductionNorm3.c
+++ b/src/ReductionNorm3.c
@@ -250,7 +250,7 @@ static int ReductionNorm3 (const cGH *GH,
CCTK_INT, outvals, num_outvals, total_outvals);
break;
-#ifdef CCTK_INT1
+#ifdef HAVE_CCTK_INT1
case CCTK_VARIABLE_INT1:
ITERATE_ARRAY (CCTK_INT1, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -258,7 +258,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT2
+#ifdef HAVE_CCTK_INT2
case CCTK_VARIABLE_INT2:
ITERATE_ARRAY (CCTK_INT2, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -266,7 +266,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT4
+#ifdef HAVE_CCTK_INT4
case CCTK_VARIABLE_INT4:
ITERATE_ARRAY (CCTK_INT4, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -274,7 +274,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT8
+#ifdef HAVE_CCTK_INT8
case CCTK_VARIABLE_INT8:
ITERATE_ARRAY (CCTK_INT8, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -288,7 +288,7 @@ static int ReductionNorm3 (const cGH *GH,
CCTK_REAL, outvals, num_outvals, total_outvals);
break;
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
case CCTK_VARIABLE_REAL4:
ITERATE_ARRAY (CCTK_REAL4, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -296,7 +296,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
case CCTK_VARIABLE_REAL8:
ITERATE_ARRAY (CCTK_REAL8, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -304,7 +304,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
case CCTK_VARIABLE_REAL16:
ITERATE_ARRAY (CCTK_REAL16, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -322,7 +322,7 @@ static int ReductionNorm3 (const cGH *GH,
CCTK_REAL, outvals, num_outvals, total_outvals);
break;
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
#undef REDUCTION_OPERATION
#define REDUCTION_OPERATION(norm1, scalar) \
norm1 += CUBE (CCTK_Cmplx8Abs (scalar))
@@ -332,7 +332,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
#undef REDUCTION_OPERATION
#define REDUCTION_OPERATION(norm1, scalar) \
norm1 += CUBE (CCTK_Cmplx16Abs (scalar))
@@ -342,7 +342,7 @@ static int ReductionNorm3 (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
#undef REDUCTION_OPERATION
#define REDUCTION_OPERATION(norm1, scalar) \
norm1 += CUBE (CCTK_Cmplx32Abs (scalar))