octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #10278] add support for sparse computation


From: Sarrah Bastawala
Subject: [Octave-patch-tracker] [patch #10278] add support for sparse computations in ode15{i, s} using Octave classes , making dependency on KLU optional.
Date: Mon, 12 Sep 2022 12:04:13 -0400 (EDT)

URL:
  <https://savannah.gnu.org/patch/?10278>

                 Summary: add support for sparse computations in ode15{i,s}
using Octave classes , making dependency on KLU optional.
                 Project: GNU Octave
               Submitter: sarrah
               Submitted: Mon 12 Sep 2022 04:04:12 PM UTC
                Category: Core : other
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 12 Sep 2022 04:04:12 PM UTC By: Sarrah Bastawala <sarrah>
Hi,
The attached patch implements the added features of making the KLU dependency
optional for ode15{i,s} DAE solvers into Octave core.

This is the result of my (Sarrah Bastawala 's) GSOC 2022 project mentored by
Carlo de Falco that has been kept up to date in a separate github repository
until now.

The repository is here:
https://github.com/sarrah-basta/octave.git 

The changelog message to best describe the code is as follows : 


add support for sparse computations in ode15{i,s} using Octave classes, making
the dependency on SUNDIALS interface to KLU optional ( GSoC '22)

* libinterp/dldfcn/oct-sundials.h : add declarations of custom implementations
to SUNDIALS NVECTOR, SUNMATRIX and SUNLINEARSOLVER APIs using Octave's
classes.
* libinterp/dldfcn/oct-sundials.cc: add definitions of exported functions
declared in corresponding header file
* libinterp/dldfcn/__ode15__.cc : add motifications and optimizations to make
ode15{i,s} solvers default to using Octave's custom implementations and solver
in IDA for sparse computations if KLU is not found.binterp
* libinterp/dldfcn/config-module.awk : add build dependencies for __ode15__
oct-file.
* configure.ac : modify warnings to let user know ode15{i,s} support sparse
computations even if KLU is not found.
* scripts/ode/ode15i.m : modify tests using sparse Jacobians to run even
without KLU
* scripts/ode/ode15s.m : modify tests using sparse Jacobians to run even
without KLU
---
 configure.ac                       |    4 +-
 libinterp/dldfcn/__ode15__.cc      |  295 ++++++--
 libinterp/dldfcn/config-module.awk |   10 +-
 libinterp/dldfcn/oct-sundials.cc   | 1134 ++++++++++++++++++++++++++++
 libinterp/dldfcn/oct-sundials.h    |  244 ++++++
 scripts/ode/ode15i.m               |    4 +-
 scripts/ode/ode15s.m               |   10 +-
 7 files changed, 1618 insertions(+), 83 deletions(-)







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Mon 12 Sep 2022 04:04:12 PM UTC  Name: final_patch_gsoc_ode15i_2022.txt 
Size: 59KiB   By: sarrah

<http://savannah.gnu.org/patch/download.php?file_id=53681>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10278>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]