diff options
-rw-r--r-- | src/rotatingsymmetry90.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index a24c60e..728f8c5 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -157,29 +157,6 @@ int BndRot90VI (cGH const * restrict const cctkGH, } { -#if 0 - int min_handle, max_handle; - CCTK_REAL local[6], global[6]; - min_handle = CCTK_ReductionArrayHandle ("minimum"); - if (min_handle<0) CCTK_WARN (0, "Could not obtain reduction handle"); - max_handle = CCTK_ReductionArrayHandle ("maximum"); - if (max_handle<0) CCTK_WARN (0, "Could not obtain reduction handle"); - - for (d=0; d<6; ++d) local[d] = cctkGH->cctk_bbox[d]; - ierr = CCTK_ReduceLocArrayToArray1D - (cctkGH, -1, max_handle, local, global, 6, CCTK_VARIABLE_REAL); - for (d=0; d<6; ++d) global_bbox[d] = (int)global[d]; - - for (d=0; d<3; ++d) local[d] = cctkGH->cctk_lbnd[d]; - ierr = CCTK_ReduceLocArrayToArray1D - (cctkGH, -1, min_handle, local, global, 3, CCTK_VARIABLE_REAL); - for (d=0; d<3; ++d) global_lbnd[d] = (int)global[d]; - - for (d=0; d<3; ++d) local[d] = cctkGH->cctk_ubnd[d]; - ierr = CCTK_ReduceLocArrayToArray1D - (cctkGH, -1, max_handle, local, global, 3, CCTK_VARIABLE_REAL); - for (d=0; d<3; ++d) global_ubnd[d] = (int)global[d]; -#else int max_handle; CCTK_INT local[12], global[12]; max_handle = CCTK_ReductionArrayHandle ("maximum"); @@ -193,7 +170,6 @@ int BndRot90VI (cGH const * restrict const cctkGH, for (d=0; d<6; ++d) global_bbox[d] = global[ d]; for (d=0; d<3; ++d) global_lbnd[d] = -global[6+d]; for (d=0; d<3; ++d) global_ubnd[d] = global[9+d]; -#endif for (d=0; d<3; ++d) { fake_bbox[2*d ] = data.lbnd[d] == global_lbnd[d]; |