aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortiglio <tiglio@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-05-18 18:48:27 +0000
committertiglio <tiglio@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-05-18 18:48:27 +0000
commit0b2c4d3e9b12db47f272279896b662672814d661 (patch)
tree174f24206c9f66d3ca081d6af7c87d9fb48e815d /src
parent776e8a14c5294578e10fff98333262ac5494297d (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/call_derivs.c9
1 files changed, 5 insertions, 4 deletions
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) {