aboutsummaryrefslogtreecommitdiff
path: root/src/RadiationBoundary.c
diff options
context:
space:
mode:
authortradke <tradke@6a38eb6e-646e-4a02-a296-d141613ad6c4>2001-04-22 16:59:36 +0000
committertradke <tradke@6a38eb6e-646e-4a02-a296-d141613ad6c4>2001-04-22 16:59:36 +0000
commitdbdb2e1818a08bcde3236569b9e3bec7a4651df4 (patch)
tree891b5aaa350316ba522f5d8c97212d26cec094c9 /src/RadiationBoundary.c
parent9569a8022bf11fbe46944a10dd6af7c9b19803c8 (diff)
Check whether CCTK_INT2 is defined or not.
Checking for CCTK_VARIABLE_INT2 is pointless :-) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@141 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/RadiationBoundary.c')
-rw-r--r--src/RadiationBoundary.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/RadiationBoundary.c b/src/RadiationBoundary.c
index dfe0e46..bdad852 100644
--- a/src/RadiationBoundary.c
+++ b/src/RadiationBoundary.c
@@ -1093,9 +1093,9 @@ void CCTK_FCALL CCTK_FNAME (BndRadiativeVN)
{ \
for (_j = jstart; _j < GH->cctk_lsh[1]; _j++) \
{ \
- int _0 = -0*offset, \
- _1 = -1*offset, \
- _2 = -2*offset; \
+ int _0 = -0*offset, \
+ _1 = -1*offset, \
+ _2 = -2*offset; \
int _index = CCTK_GFINDEX3D (GH, istart, _j, _k); \
CCTK_REAL *_radius = radius + _index, \
*_xyz = xyz + _index; \
@@ -1500,7 +1500,7 @@ static int ApplyBndRadiative (cGH *GH,
GH->data[var_from][timelvl_from], gdim, CCTK_REAL);
break;
-#ifdef CCTK_VARIABLE_INT2
+#ifdef CCTK_INT2
case CCTK_VARIABLE_INT2:
RADIATIVE_BOUNDARY (GH->cctk_lsh, doBC, stencil, coords, offset,
GH->data[var_to][timelvl_to],
@@ -1508,7 +1508,7 @@ static int ApplyBndRadiative (cGH *GH,
break;
#endif
-#ifdef CCTK_VARIABLE_INT4
+#ifdef CCTK_INT4
case CCTK_VARIABLE_INT4:
RADIATIVE_BOUNDARY (GH->cctk_lsh, doBC, stencil, coords, offset,
GH->data[var_to][timelvl_to],
@@ -1516,7 +1516,7 @@ static int ApplyBndRadiative (cGH *GH,
break;
#endif
-#ifdef CCTK_VARIABLE_INT8
+#ifdef CCTK_INT8
case CCTK_VARIABLE_INT8:
RADIATIVE_BOUNDARY (GH->cctk_lsh, doBC, stencil, coords, offset,
GH->data[var_to][timelvl_to],