This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ODE NAN INF derivs


Brian Gough wrote:
Kevin Hobbs writes:
> Hmm looks like I also have to undo the step by zeroing the other > derivatives and setting time back.


Yes, you would need to save the previous state.
Arguably the framework should do this though.



For my current project saving the state is easy as it only has a few variables. But later I may only have room in memory for one set of variables and derivatives. I am sure this is the case for others but their equations probably don't have the valid range problem like the ones I inherited.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]