Improve error reporting in Multipole
Issue #864
open
When Multipole encounters an interpolation error, the error output from the interpolator consists of thousands of lines each listing the points that failed. This is too much information to process. It is also not clear that the error came from Multipole.
- This output should be limited;
- The error should be prefixed with "Multipole" so the user knows which thorn was responsible for calling the interpolator (maybe the new CCTK_ScheduleQueryCurrentFunction from
#817could be used for this); - Multipole should contain a check in CCTK_PARAMCHECK that the extraction radii are not outside the Cactus base grid.
Keyword:
Comments (2)
-
-
- edited description
- changed status to open
- Log in to comment
One can take inspiration from what AHFinderDirect does: https://bitbucket.org/einsteintoolkit/einsteinanalysis/src/d4f9f9d8a4b2a2670b0b07a9ab8de35baa73a518/AHFinderDirect/src/gr/expansion.cc#lines-712
the check the return value https://bitbucket.org/einsteintoolkit/einsteinanalysis/src/d4f9f9d8a4b2a2670b0b07a9ab8de35baa73a518/AHFinderDirect/src/gr/expansion.cc#lines-881