Package: r2sundials 6.5.0-5

r2sundials: Wrapper for 'SUNDIALS' Solving ODE and Sensitivity Problem

Wrapper for widely used 'SUNDIALS' software (SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers) and more precisely to its 'CVODES' solver. It is aiming to solve ordinary differential equations (ODE) and optionally pending forward sensitivity problem. The wrapper is made 'R' friendly by allowing to pass custom parameters to user's callback functions. Such functions can be both written in 'R' and in 'C++' ('RcppArmadillo' flavor). In case of 'C++', performance is greatly improved so this option is highly advisable when performance matters. If provided, Jacobian matrix can be calculated either in dense or sparse format. In the latter case 'rmumps' package is used to solve corresponding linear systems. Root finding and pending event management are optional and can be specified as 'R' or 'C++' functions too. This makes them a very flexible tool for controlling the ODE system during the time course simulation. 'SUNDIALS' library was published in Hindmarsh et al. (2005) <doi:10.1145/1089014.1089020>.

Authors:Serguei Sokol [cre, aut], Carol S. Woodward [ctb], Daniel R. Reynolds [ctb], Alan C. Hindmarsh [ctb], David J. Gardner [ctb], Cody J. Balos [ctb], Radu Serban [ctb], Scott D. Cohen [ctb], Peter N. Brown [ctb], George Byrne [ctb], Allan G. Taylor [ctb], Steven L. Lee [ctb], Keith E. Grant [ctb], Aaron Collier [ctb], Lawrence E. Banks [ctb], Steve Smith [ctb], Cosmin Petra [ctb], Slaven Peles [ctb], John Loffeld [ctb], Dan Shumaker [ctb], Ulrike Yang [ctb], James Almgren-Bell [ctb], Shelby L. Lockhart [ctb], Hilari C. Tiedeman [ctb], Ting Yan [ctb], Jean M. Sexton [ctb], Chris White [ctb], Lawrence Livermore National Security [cph], Southern Methodist University [cph], INSA [cph], INRAE [cph], CNRS [cph]

r2sundials_6.5.0-5.tar.gz
r2sundials_6.5.0-5.zip(r-4.5)r2sundials_6.5.0-5.zip(r-4.4)r2sundials_6.5.0-5.zip(r-4.3)
r2sundials_6.5.0-5.tgz(r-4.4-x86_64)r2sundials_6.5.0-5.tgz(r-4.4-arm64)r2sundials_6.5.0-5.tgz(r-4.3-x86_64)r2sundials_6.5.0-5.tgz(r-4.3-arm64)
r2sundials_6.5.0-5.tar.gz(r-4.5-noble)r2sundials_6.5.0-5.tar.gz(r-4.4-noble)
r2sundials_6.5.0-5.tgz(r-4.4-emscripten)r2sundials_6.5.0-5.tgz(r-4.3-emscripten)
r2sundials.pdf |r2sundials.html
r2sundials/json (API)
NEWS

# Install 'r2sundials' in R:
install.packages('r2sundials', repos = c('https://sgsokol.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sgsokol/r2sundials/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

2.78 score 2 stars 3 scripts 257 downloads 11 exports 3 dependencies

Last updated 4 months agofrom:b5e9eaf04c. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64OKNov 06 2024
R-4.5-linux-x86_64OKNov 06 2024
R-4.4-win-x86_64OKNov 06 2024
R-4.4-mac-x86_64OKNov 06 2024
R-4.4-mac-aarch64OKNov 06 2024
R-4.3-win-x86_64OKNov 06 2024
R-4.3-mac-x86_64OKNov 06 2024
R-4.3-mac-aarch64OKNov 06 2024

Exports:CV_ADAMSCV_BDFCV_SIMULTANEOUSCV_STAGGEREDCV_STAGGERED1CV_SUCCESSget_cnstr2cvodesR2SUNDIALS_EVENT_HOLDR2SUNDIALS_EVENT_IGNORER2SUNDIALS_EVENT_STOP

Dependencies:RcppRcppArmadillormumps

Readme and manuals

Help Manual

Help pageTopics
Wrapper for 'SUNDIALS' Solving ODE and Sensitivity Problemr2sundials-package r2sundials
Get Predefined Constantget_cnst
Solving ODE System and Sensitivity EquationsCV_ADAMS CV_BDF CV_SIMULTANEOUS CV_STAGGERED CV_STAGGERED1 CV_SUCCESS r2cvodes R2SUNDIALS_EVENT_HOLD R2SUNDIALS_EVENT_IGNORE R2SUNDIALS_EVENT_STOP