From 21a06b511674e1b75e05b83981fb7ad71d083ae2 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Mon, 23 Jan 2012 16:18:47 -0600 Subject: Regenerate code (CCTK_LOOP) Kranc commit 121ff02440893cfabee9899a90048b393dadaa7c --- ML_ADMConstraints/configuration.ccl | 4 +++- ML_ADMConstraints/src/ML_ADMConstraints.cc | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'ML_ADMConstraints') 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) -- cgit v1.2.3