From 0b7e91ddc636c36bdd695e234eaa604852418851 Mon Sep 17 00:00:00 2001 From: schnetter Date: Mon, 5 Dec 2005 16:47:50 +0000 Subject: Remove code that was commented out. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry90/trunk@32 c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5 --- src/rotatingsymmetry90.c | 24 ------------------------ 1 file changed, 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]; -- cgit v1.2.3