Re: [sundials-users] [LLNL/sundials] What replacement for KINSetInfoHandlerFn ? (Issue #752)

5 views
Skip to first unread message

Stéphane MOTTELET

unread,
Aug 7, 2025, 12:51:51 PMAug 7
to SUNDIAL...@listserv.llnl.gov
mottelet left a comment (LLNL/sundials#752)

However, the SUNLogInfo API does not allow to give a user data pointer. In kinsol.c, since version 7 the call to the info message handler

 /* call the info message handler */

  kin_mem->kin_ihfun(module, fname, msg, kin_mem->kin_ih_data);

has been replaced by

  SUNLogInfo(KIN_LOGGER, "KINSOL", fname, "%s", msg);

A user-defined logger or callback function should allow to pass a user data pointer.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <LLNL/sundials/issues/752/3143862483@github.com>



To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV

Reply all
Reply to author
Forward
0 new messages