Projects: Difference between revisions

Jump to navigation Jump to search
22 bytes added ,  4 February 2020
Line 87: Line 87:
* Improve handling of sparse Jacobians in IDE/DAE solvers
* Improve handling of sparse Jacobians in IDE/DAE solvers
** Currently, in the IDA wrapper function __ode15__ an over conservative guess for the amount of memory to be allocated when assembling a sparse jacobian is used, essentially allocating enough space for a full jacobian then freeing the excess memory, an initial patch for fixing this has been posted on the tracker, for integrating this into Octave it must be generalized to support prior versions of SUNDIALS
** Currently, in the IDA wrapper function __ode15__ an over conservative guess for the amount of memory to be allocated when assembling a sparse jacobian is used, essentially allocating enough space for a full jacobian then freeing the excess memory, an initial patch for fixing this has been posted on the tracker, for integrating this into Octave it must be generalized to support prior versions of SUNDIALS
** Currently Jacobians passed by the user in Octave's sparse matrix format are copied into SUNDIALS own sparse matrix format. Newer versions of SUNDIALS (5.x or higher) support letting the user take care of the linear algebra data structures and methods thus removing the need for the copy. Taking advantage of this feature would improve the solver performance both in terms of memory footprint and speed.[https://savannah.gnu.org/bugs/?func=detailitem&item_id=55905 tracker post about memory allocation] [https://computing.llnl.gov/projects/sundials/release-history SUNDIALS release history]
** Currently Jacobians passed by the user in Octave's sparse matrix format are copied into SUNDIALS own sparse matrix format. Newer versions of SUNDIALS (5.x or higher) support letting the user take care of the linear algebra data structures and methods thus removing the need for the copy. Taking advantage of this feature would improve the solver performance both in terms of memory footprint and speed.
** References
***[https://savannah.gnu.org/bugs/?func=detailitem&item_id=55905 tracker post about memory allocation]  
***[https://computing.llnl.gov/projects/sundials/release-history SUNDIALS release history]
* Implement Matlab compatible versions of "deval".
* Implement Matlab compatible versions of "deval".


349

edits

Navigation menu