aboutsummaryrefslogtreecommitdiff
path: root/ML_ADMConstraints
diff options
context:
space:
mode:
Diffstat (limited to 'ML_ADMConstraints')
-rw-r--r--ML_ADMConstraints/configuration.ccl4
-rw-r--r--ML_ADMConstraints/src/ML_ADMConstraints.cc5
2 files changed, 6 insertions, 3 deletions
diff --git a/ML_ADMConstraints/configuration.ccl b/ML_ADMConstraints/configuration.ccl
index 8e2c3c5..0a66ec2 100644
--- a/ML_ADMConstraints/configuration.ccl
+++ b/ML_ADMConstraints/configuration.ccl
@@ -1,4 +1,6 @@
# File produced by Kranc
REQUIRES GenericFD
-REQUIRES LoopControl
+OPTIONAL LoopControl
+{
+}
diff --git a/ML_ADMConstraints/src/ML_ADMConstraints.cc b/ML_ADMConstraints/src/ML_ADMConstraints.cc
index f913e39..1f30b9a 100644
--- a/ML_ADMConstraints/src/ML_ADMConstraints.cc
+++ b/ML_ADMConstraints/src/ML_ADMConstraints.cc
@@ -12,6 +12,7 @@
#include "cctk_Parameters.h"
#include "GenericFD.h"
#include "Differencing.h"
+#include "cctk_Loop.h"
#include "loopcontrol.h"
/* Define macros used in calculations */
@@ -91,7 +92,7 @@ static void ML_ADMConstraints_Body(cGH const * restrict const cctkGH, int const
/* Loop over the grid points */
#pragma omp parallel
- LC_LOOP3 (ML_ADMConstraints,
+ CCTK_LOOP3 (ML_ADMConstraints,
i,j,k, imin[0],imin[1],imin[2], imax[0],imax[1],imax[2],
cctk_lsh[0],cctk_lsh[1],cctk_lsh[2])
{
@@ -500,7 +501,7 @@ static void ML_ADMConstraints_Body(cGH const * restrict const cctkGH, int const
M2[index] = M2L;
M3[index] = M3L;
}
- LC_ENDLOOP3 (ML_ADMConstraints);
+ CCTK_ENDLOOP3 (ML_ADMConstraints);
}
extern "C" void ML_ADMConstraints(CCTK_ARGUMENTS)