aboutsummaryrefslogtreecommitdiff
path: root/src/call_derivs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call_derivs.c')
-rw-r--r--src/call_derivs.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/call_derivs.c b/src/call_derivs.c
index 56b41e4..8358895 100644
--- a/src/call_derivs.c
+++ b/src/call_derivs.c
@@ -25,6 +25,12 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
CCTK_INT dummy[6];
int nelements;
+ /*
+ CCTK_INT nboundaryzones[6];
+ CCTK_INT is_internal[6];
+ CCTK_INT is_staggered[6];
+ */
+
void CCTK_FCALL CCTK_FNAME(deriv_gf_2_1)(const CCTK_REAL *var,
const CCTK_INT *ni,
const CCTK_INT *nj,
@@ -126,7 +132,7 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
const CCTK_REAL *delta,
CCTK_REAL *dvar);
- void get_grid_offsets (CCTK_INT *offset);
+ void get_shiftout ( const CCTK_POINTER_TO_CONST cctkGH_, CCTK_INT *offset);
void CCTK_FCALL CCTK_FNAME(SBP_Poisoning) (
const CCTK_INT *ni,
@@ -165,14 +171,12 @@ void DiffGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir,
}
}
+ /* get values of boundary_shiftout_* from CoordBase */
for (i=0; i<6; i++) {
offset[i] = 0;
}
- if ( use_shiftout ) {
- /* get values of boundary_shiftout_* from CoordBase */
- get_grid_offsets (offset);
- }
-
+ get_shiftout (cctkGH_, offset);
+ /*GetBoundarySpecification (6, nboundaryzones, is_internal, is_staggered, offset);*/
SBP_determine_onesided_stencil (cctkGH, onesided);