Skip to content

Commit

Permalink
CarpetX: Remove overzealous consistency check
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Jul 27, 2023
1 parent 8bb9bdb commit b59d681
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CarpetX/src/driver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1829,12 +1829,13 @@ void CactusAmrCore::MakeNewLevelFromCoarse(
groupdata.all_faces_have_symmetries_or_boundaries()
? make_valid_outer()
: valid_t();
assert(outer_valid == make_valid_outer());
for (int vi = 0; vi < groupdata.numvars; ++vi) {
groupdata.valid.at(tl).at(vi).set_all(
make_valid_int() | make_valid_ghosts() | outer_valid,
[]() { return "MakeNewLevelFromCoarse after prolongation"; });
// check_valid(groupdata, vi, tl, nan_handling, []() {
// This cannot be called because it would access the data
// with old metadata
// check_valid(leveldata, groupdata, vi, tl, nan_handling, []() {
// return "MakeNewLevelFromCoarse after prolongation";
// });
}
Expand Down

0 comments on commit b59d681

Please sign in to comment.