diff options
author | schnetter <schnetter@c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5> | 2005-12-05 16:47:50 +0000 |
---|---|---|
committer | schnetter <schnetter@c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5> | 2005-12-05 16:47:50 +0000 |
commit | 0b7e91ddc636c36bdd695e234eaa604852418851 (patch) | |
tree | caacb8ea942697f65a25aca711fdec982d160b03 | |
parent | ff4a81e7479ef7b49d4f9f73b72d99eabb3bbea5 (diff) |
Remove code that was commented out.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry90/trunk@32 c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5
-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]; |