aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/call_derivs.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/call_derivs.c b/src/call_derivs.c
index a49930c..a6da543 100644
--- a/src/call_derivs.c
+++ b/src/call_derivs.c
@@ -4,6 +4,7 @@
#include "util_ErrorCodes.h"
#include "util_Table.h"
+#include "cctk_DefineThorn.h"
void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
const CCTK_REAL *var, CCTK_REAL *dvar,
@@ -136,7 +137,15 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
CCTK_WARN(0,"Util_TableGetIntArray returned error");
}
- pen_sym_handle = SymmetryHandleOfName ( "multipatch" );
+
+ 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++){
+ symbnd[i] = 1;
+ pen_sym_handle=1;
+ }
+#endif
switch(dir) {
case 0: {
@@ -188,6 +197,7 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
CCTK_WARN (0, "Wrong direction specified");
}
+
if ( CCTK_Equals(norm_type,"Diagonal") ) {
if ( CCTK_Equals(operator_type,"Minimal Bandwidth") ) {
switch(loc_order) {