diff options
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/Carpet/src/Restrict.cc | 5 | ||||
-rw-r--r-- | Carpet/Carpet/src/modes.cc | 13 |
2 files changed, 0 insertions, 18 deletions
diff --git a/Carpet/Carpet/src/Restrict.cc b/Carpet/Carpet/src/Restrict.cc index 6df4666fd..a0a94ddd4 100644 --- a/Carpet/Carpet/src/Restrict.cc +++ b/Carpet/Carpet/src/Restrict.cc @@ -83,11 +83,6 @@ namespace Carpet { for (int v = 0; v < (int)arrdata.at(g).at(m).data.size(); ++v) { ggf *const gv = arrdata.at(g).at(m).data.at(v); -#if 0 - for (int c = 0; c < vhh.at(m)->components(reflevel); ++c) { - gv->ref_restrict (state, tl, reflevel, c, mglevel, time); - } -#endif gv->ref_restrict_all (state, tl, reflevel, mglevel, time); } } diff --git a/Carpet/Carpet/src/modes.cc b/Carpet/Carpet/src/modes.cc index 841710e16..1b092aab9 100644 --- a/Carpet/Carpet/src/modes.cc +++ b/Carpet/Carpet/src/modes.cc @@ -97,12 +97,6 @@ namespace Carpet { const int m = 0; const int c = CCTK_MyProc(cctkGH); -#if 0 - const ibbox& base = arrdata.at(group).at(m).hh->bases().at(ml).at(rl); -#endif -#if 0 // dh::dbases - const ibbox& baseext = arrdata.at(group).at(m).dd->bases.at(ml).at(rl).exterior; -#endif const ibbox& baseext = arrdata.at(group).at(m).hh->baseextents.at(ml).at(rl); const ibbox& ext = arrdata.at(group).at(m).dd->boxes.at(ml).at(rl).at(c).exterior; const b2vect& obnds = arrdata.at(group).at(m).hh->outer_boundaries(rl,c); @@ -352,10 +346,6 @@ namespace Carpet { } // Set grid shape -#if 0 // dh::dbases - const ibbox& coarseext = vdd.at(map)->bases.at(mglevel).at(0 ).exterior; - const ibbox& baseext = vdd.at(map)->bases.at(mglevel).at(reflevel).exterior; -#endif const ibbox& coarseext = vhh.at(map)->baseextents.at(mglevel).at(0 ); const ibbox& baseext = vhh.at(map)->baseextents.at(mglevel).at(reflevel); // assert (all (baseext.lower() % baseext.stride() == 0)); @@ -452,9 +442,6 @@ namespace Carpet { if (mc_grouptype == CCTK_GF) { // Set cGH fields -#if 0 // dh::dbases - const ibbox& baseext = vdd.at(map)->bases.at(mglevel).at(reflevel).exterior; -#endif const ibbox& baseext = vhh.at(map)->baseextents.at(mglevel).at(reflevel); const ibbox& ext = vdd.at(map)->boxes.at(mglevel).at(reflevel).at(component).exterior; const b2vect& obnds = vhh.at(map)->outer_boundaries(reflevel,component); |