The error handlers are now the same for all packages and are attached to the SUNContext
object instead of the intergator/solver object. See this section in the docs. You would do something like,
if ((err = SUNContext_PushErrHandler(mSunContext, sunErrHandler, this)) != SUN_SUCCESS) { handleSundialsError(err); }
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
Thank you! That was enough to get me what I needed.
For posterity: the 'SUNContext_PushErrHandler' function was indeed necessary, as was changing the signature of my old 'cvodeErrHandler' function to match the new SUNLogErrHandlerFn. Final changes at sys-bio/roadrunner@24caffb
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.