From 0b2c4d3e9b12db47f272279896b662672814d661 Mon Sep 17 00:00:00 2001 From: tiglio Date: Thu, 18 May 2006 18:48:27 +0000 Subject: A C version (as opposed to C++) of the hack. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@70 f69c4107-0314-4c4f-9ad4-17e986b73f4a --- src/call_derivs.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/call_derivs.c b/src/call_derivs.c index a6da543..5eb2533 100644 --- a/src/call_derivs.c +++ b/src/call_derivs.c @@ -14,7 +14,7 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir, DECLARE_CCTK_PARAMETERS DECLARE_CCTK_ARGUMENTS - CCTK_INT ni, nj, nk, gsize, ic, loc_order; + CCTK_INT ni, nj, nk, gsize, ic, loc_order,i; CCTK_REAL delta; CCTK_INT ierr; CCTK_INT lsh[3], bbox[6], bb[2], nghostzones[3]; @@ -140,8 +140,9 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir, pen_sym_handle = SymmetryHandleOfName ( "multipatch" ); -#ifdef CACTUSPUGH_PUGH // a little hack to make this work with pugh (without reflection sym, though) - for (int i=0; i<6; i++){ +#ifdef CACTUSPUGH_PUGH /* a little hack to make this work with + pugh (without reflection sym, though) */ + for (i=0; i<6; i++){ symbnd[i] = 1; pen_sym_handle=1; } @@ -197,7 +198,7 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir, CCTK_WARN (0, "Wrong direction specified"); } - + printf("Manuel sucks donkeys \n"); if ( CCTK_Equals(norm_type,"Diagonal") ) { if ( CCTK_Equals(operator_type,"Minimal Bandwidth") ) { switch(loc_order) { -- cgit v1.2.3