My code (par file attached) is dying in regrid.cc with this error message:
terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
The relevant code is below. I'm not sure what I'm doing wrong. Any ideas? Thanks.
} else { // The level did not actually change: re-use the old domain // decomposition
for (int m = 0; m < maps; ++ m) { superregsss.at(m).at(rl).swap(old_superregsss.at(m).at(rl)); int const ml = 0; regsss.at(m).at(rl).swap(old_regssss.at(m).at(ml).at(rl)); // <-- dying here }
} // if level did change } // for rl
--Steve
users@lists.einsteintoolkit.org