#864: Improve error reporting in Multipole
| Reporter: | Ian Hinder |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | enhancement |
| Priority: | minor |
| Component: | EinsteinToolkit thorn |
Comment (by Roland Haas):
One can take inspiration from what AHFinderDirect does: https://bitbucket.org/einsteintoolkit/einsteinanalysis/src/d4f9f9d8a4b2a2670b0b07a9ab8de35baa73a518/AHFinderDirect/src/gr/expansion.cc#lines-712
// set a dummy value for the key "suppress_warnings" // to tell CCTK_InterpGridArrays() not to print warning messages // for points outside the grid status = Util_TableSetInt(gi.param_table_handle, 0, "suppress_warnings");
the check the return value https://bitbucket.org/einsteintoolkit/einsteinanalysis/src/d4f9f9d8a4b2a2670b0b07a9ab8de35baa73a518/AHFinderDirect/src/gr/expansion.cc#lines-881
// // ***** handle any interpolation errors ***** // if (status == CCTK_ERROR_INTERP_POINT_OUTSIDE)
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/864/improve-error-reporting-in-multipole