aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 05:26:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 05:26:00 +0000
commit9c651d2bb05a4c9a7d65d33fbcb9b673d7e75085 (patch)
tree606d6911b25ba04d8a24f1ecc1cb5fa474b646da /Carpet/CarpetInterp
parent5085dcaed9fd56899ba2d0d232c5b0e1a9f15bc0 (diff)
CarpetInterp: Simplify code
darcs-hash:20080219052647-dae7b-7169b54451d82d889bf42cbe9bd55eafc8605355.gz
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r--Carpet/CarpetInterp/src/interp.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc
index af83c3cff..9915814ec 100644
--- a/Carpet/CarpetInterp/src/interp.cc
+++ b/Carpet/CarpetInterp/src/interp.cc
@@ -1273,9 +1273,7 @@ namespace CarpetInterp {
assert (iret == 0);
}
- int const grouptype = CCTK_GroupTypeI (coord_group);
- assert (grouptype >= 0);
- int const m = grouptype == CCTK_GF ? Carpet::map : 0;
+ int const m = 0;
// delta for the Carpet grid indices
ibbox const & baseextent =
arrdata.at(coord_group).at(m).hh->baseextents.at(mglevel).at(0);