CarpetRegrid2 error message improvement

Issue #1060 closed
anonymous created an issue

I ran cactus with the parameter CarpetRegrid2::num_levels_1=2
but without setting CarpetRegrid2::radius_1[1] That is wrong, of course. The error message was:

WARNING level 0 in thorn CarpetRegrid2 processor 0 host mb2.local (line 93 of /Users/mb/Cactus/arrangements/Carpet/CarpetRegrid2/src/regrid.cc): -> The radius of refinement level 1 of region 1 is [4.94066e-323,4.88063e+252,5.03503e+175], which is non-negative

This error message does not seem to make sense. Could it be improved?

Keyword: CarpetRegrid2
Keyword: error
Keyword: message
Keyword: improvement

Comments (3)

  1. Erik Schnetter
    • removed comment

    The error message may output the wrong radius. It checks "rad", the new radius, but outputs "this->_radius.at(rl)", which is the old radius.

  2. Log in to comment