aboutsummaryrefslogtreecommitdiff
path: root/ML_ADMConstraints
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-01-23 16:18:47 -0600
committerIan Hinder <ian.hinder@aei.mpg.de>2012-01-23 16:18:47 -0600
commit21a06b511674e1b75e05b83981fb7ad71d083ae2 (patch)
tree0db716c9a8608c1f19904e5849c199471db7fa71 /ML_ADMConstraints
parentc1d31e46320eaef103a48dcfa1095f5355031bf3 (diff)
Regenerate code (CCTK_LOOP)
Kranc commit 121ff02440893cfabee9899a90048b393dadaa7c
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)