Open bendudson opened 3 weeks ago
Uses CVodeSetNlsRhsFn (https://sundials.readthedocs.io/en/latest/cvode/Usage/index.html#c.CVodeSetNlsRhsFn) to set different callback functions for linear and nonlinear solves. Both callbacks end up calling the same user rhs() function, but with a boolean argument that differs.
Uses CVodeSetNlsRhsFn (https://sundials.readthedocs.io/en/latest/cvode/Usage/index.html#c.CVodeSetNlsRhsFn) to set different callback functions for linear and nonlinear solves. Both callbacks end up calling the same user rhs() function, but with a boolean argument that differs.