diff options
Diffstat (limited to 'src/dissipation.c')
-rw-r--r-- | src/dissipation.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/dissipation.c b/src/dissipation.c index 4dbacbf..548f522 100644 --- a/src/dissipation.c +++ b/src/dissipation.c @@ -145,7 +145,7 @@ void CCTK_FCALL CCTK_FNAME(dissipation_8_4_alt) (const CCTK_REAL *var, const CCTK_REAL *dx, const CCTK_REAL *epsdis, CCTK_REAL *rhs); -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, const CCTK_INT *nj, @@ -188,6 +188,10 @@ apply (int const varindex, char const * const optstring, void * const arg) CCTK_INT offset[6]; int type; int i; + + CCTK_INT nboundaryzones[6]; + CCTK_INT is_internal[6]; + CCTK_INT is_staggered[6]; assert (varindex >= 0); @@ -196,13 +200,12 @@ apply (int const varindex, char const * const optstring, void * const arg) gsize[d] = cctk_nghostzones[d]; } + /* 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); for (d=0; d<6; ++d) { |