|
From: | Roberto Porcù |
Subject: | Odeset - Odeget |
Date: | Sat, 31 Aug 2013 03:22:16 +0000 |
Hi everybody,
i'm working on the Octave Socis project and i developed a program which
implements a geometric integrator for Hamiltonian systems; this solver
is a spectral variational integrator. The goal is to add this function to
OdePkg so i implemented that with the same signature of other functions of this
package, like ode45 whose arguments are (@functionHandle, time, initial_conditions, odeset).
My problem is that i need more options than those you can set with odeset,
so that i need to define new fields in odeset struct. Till now i just added
a new argument at the end, which is a struct containing these missing fields
but i think it is not very nice.
My idea is to modify the existing odeset function, adding the possibility to
set the values of new fields that are not pre-established, just like a normal struct.
Is it reasonable or are there reasons that make it not possible?
I will really appreciate your suggestions and observations. Thanks
Roberto
|
[Prev in Thread] | Current Thread | [Next in Thread] |