Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some ode45 features #365

Closed
JeffBezanson opened this issue Feb 15, 2012 · 8 comments
Closed

some ode45 features #365

JeffBezanson opened this issue Feb 15, 2012 · 8 comments
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@JeffBezanson
Copy link
Member

ode45 should support stepping from high to low like ode23 does, and both should also support any-size vectors of steps instead of just [t0, tfinal].

I'd like to do

function tracywidom()
    t0 = 5.
    tn = -8.
    dx = .005

    deq = function (t::Float64, y::Vector{Float64})
        [y[2]; t*y[1]+2*y[1]^3; y[4]; y[1]^2]
    end

    y0 = [airy(t0); airy(1,t0); 0; airy(t0)^2]

    (t, y) = ode45(deq, [t0:-dx:tn], y0)

    F2 = exp(-y[:,3][:])
    f2 = gradient(F2,t)
    return (t, f2)
end
@ViralBShah
Copy link
Member

ode23 derives from Cleve's NCM, whereas ode45 is from octave - which is why the different styles and interfaces.

I presume you also want to include plots in this if you were playing around with things...

@vtjnash
Copy link
Member

vtjnash commented Feb 1, 2013

see also #75. sounds like a general framework for ODE solvers would be useful to create, then this can all be moved to a package for individual authors to provide specialized solutions.

i suspect it might require keyword arguments (or the approach in the new sort interface?)

@ViralBShah
Copy link
Member

We need someone to spearhead our ODE effort. I might just be able to do some basic stuff, once we are through the ubuntu release stuff.

@ViralBShah
Copy link
Member

@tshort Now that we have Sundials.jl, should we get rid of all the various half-baked ODE functions in ODE.jl? Perhaps ODE.jl should just be a high-level interface to Sundials.jl.

@pao
Copy link
Member

pao commented Mar 14, 2013

I don't know about all, but probably the half-baked ones. I'd still like to see pure-Julia integrators, and there's some encouraging stuff being talked about on the mailing lists for automatically generating Jacobians etc. that would be good to take advantage of.

@ViralBShah
Copy link
Member

I agree. I am tempted to close this one as wontfix, unless there is any objection.

@vtjnash
Copy link
Member

vtjnash commented Mar 15, 2013

just move to the ODE package I'm now hosting and close this one

@ViralBShah
Copy link
Member

This issue is moved to ODE.jl.

KristofferC pushed a commit that referenced this issue Jun 12, 2018
* Throw cmderror for no-argument pkg> generate

* add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
None yet
Development

No branches or pull requests

4 participants