Improve error reporting in Multipole

Create issue
Issue #864 open
Ian Hinder created an issue

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.

  1. This output should be limited;
  2. 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 #817 could be used for this);
  3. Multipole should contain a check in CCTK_PARAMCHECK that the extraction radii are not outside the Cactus base grid.


Comments (2)

  1. Roland Haas

    One can take inspiration from what AHFinderDirect does:

        // 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,

    the check the return value

    // ***** handle any interpolation errors *****

  2. Log in to comment