patchGNU Octave - Patches: patch #8418, Changeset for function ode15s...

 
 

patch #8418: Changeset for function ode15s (preliminary version)

Submitter:  Pooja Rao <prao>
Submitted:  Mon 24 Mar 2014 05:43:28 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Duplicate Privacy:  Public
Assigned to:  cdf Open/Closed:  Closed

Discussion locked!

Mon 24 Mar 2014 07:46:15 AM UTC, comment #1: 

prao,

Why open a new thread?

You could post this as a comment to the original
thread for  patch #8102.

I'm closing this thread and marking it as a duplicate
of  patch #8102 , please repost there and I'll comment
on the code.



Carlo de Falco <cdf>
Group Member
Mon 24 Mar 2014 05:43:28 AM UTC, original submission:  

This is an initial changeset for function ode15s (from jwe's implementation patch #8102) to the ode-pkg. I have added two options ('InitialStep' and 'MaxStep') to this function along with changing the way it outputs its solution. Earlier, it would take [tstart tfinal] as the time input vector and produce output only at tstart and tfinal (because it uses LSODE /DASRT). To make it produce solution values at points between tstart and tfinal, I used linspace in the ode15s file. This is a temporary workaround.  I also added a test and a couple of demos at the end.   

The following is a brief list of TO-DOs for ode15s:

1) Add options to make it more Matlab compatible
2) Replace linspace with a more adaptive output
3) Replace LSODE with DASPK/DASRT  so it solves DAEs.
In its current form it uses DASRT but only when the 'Events'  option is non-empty.

Pooja Rao <prao>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #31019:  added_ode15s.diff added by prao (6KiB - text/x-diff)

 

Digest:
   patch dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by prao (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-24 cdf StatusNone Duplicate
        Assigned toNone cdf
        Open/ClosedOpen Closed
        Discussion LockNone Locked
        Dependencies- Depends on patch #8102
    2014-03-24 prao Attached File- Added added_ode15s.diff, #31019

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code