Package: rODE 0.99.6

rODE: Ordinary Differential Equation (ODE) Solvers Written in R Using S4 Classes

Show physics, math and engineering students how an ODE solver is made and how effective R classes can be for the construction of the equations that describe natural phenomena. Inspiration for this work comes from the book on "Computer Simulations in Physics" by Harvey Gould, Jan Tobochnik, and Wolfgang Christian. Book link: <http://www.compadre.org/osp/items/detail.cfm?ID=7375>.

Authors:Alfonso R. Reyes [aut, cre]

rODE_0.99.6.tar.gz
rODE_0.99.6.zip(r-4.5)rODE_0.99.6.zip(r-4.4)rODE_0.99.6.zip(r-4.3)
rODE_0.99.6.tgz(r-4.4-any)rODE_0.99.6.tgz(r-4.3-any)
rODE_0.99.6.tar.gz(r-4.5-noble)rODE_0.99.6.tar.gz(r-4.4-noble)
rODE_0.99.6.tgz(r-4.4-emscripten)rODE_0.99.6.tgz(r-4.3-emscripten)
rODE.pdf |rODE.html
rODE/json (API)

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

Peer review:

Bug tracker:https://github.com/f0nzie/rode/issues

On CRAN:

36 exports 0.63 score 1 dependencies 71 scripts 188 downloads

Last updated 7 years agofrom:1d686fd06b. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winNOTESep 04 2024
R-4.5-linuxNOTESep 04 2024
R-4.4-winNOTESep 04 2024
R-4.4-macNOTESep 04 2024
R-4.3-winNOTESep 04 2024
R-4.3-macNOTESep 04 2024

Exports:AbstractODESolvercreateODESolverDormandPrince45doStepenableRuntimeExceptionsEulerEulerRichardsongetEnergygetErrorCodegetExactSolutiongetODEgetRategetRateCountergetRateCountsgetStategetStepSizegetTimegetToleranceimportFromExamplesinitinit<-ODEODEAdaptiveSolverODESolverODESolverFactoryRK4RK45run_test_applicationssetSolver<-setStatesetStepSizesetTolerancesetTolerance<-showMethods2stepVerlet

Dependencies:data.table

Chemical Reaction

Rendered fromReaction.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Comparison of ODE solvers

Rendered fromComparison.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Error vs step size with Euler method

Rendered fromErrorEuler.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-11-10

Falling Particle ODE

Rendered fromFallingParticle.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Kepler. Interaction between two planets

Rendered fromKepler.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Muskat Material Balance

Rendered fromMuskat-MBal.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-11-10

Pendulum with Euler-Richardson ODE solver

Rendered fromPendulum.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Planet orbiting with Euler ODE solver

Rendered fromPlanet.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Projectile with RK4 solver

Rendered fromProjectile.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2017-11-10
Started: 2017-05-22

Readme and manuals

Help Manual

Help pageTopics
Ordinary Differential EquationsrODE-package
AbstractODESolver class.AbstractODESolver AbstractODESolver AbstractODESolver,missing-method AbstractODESolver,ODE-method AbstractODESolver-class getODE,AbstractODESolver-method getStepSize,AbstractODESolver-method init,AbstractODESolver-method init<-,AbstractODESolver-method setStepSize,AbstractODESolver-method step,AbstractODESolver-method
DormandPrince45 ODE solver class.DormandPrince45 DormandPrince45 DormandPrince45,ODE-method DormandPrince45-class enableRuntimeExceptions,DormandPrince45-method enableRuntimeExceptions,enableRuntimeExceptions-method getErrorCode,DormandPrince45-method getErrorCode,getErrorCode-method getStepSize,DormandPrince45-method getTolerance,DormandPrince45-method getTolerance,getTolerance-method init,DormandPrince45-method init<-,DormandPrince45-method setStepSize,DormandPrince45-method setTolerance,DormandPrince45-method setTolerance,setTolerance-method setTolerance<-,DormandPrince45-method step,DormandPrince45-method
doStepdoStep
enableRuntimeExceptionsenableRuntimeExceptions
Euler ODE solver class.Euler Euler Euler,missing-method Euler,ODE-method Euler-class getStepSize,Euler-method getStepSize,getStepSize-method init,Euler-method init,init-method setStepSize,Euler-method setStepSize,setStepSize-method step,Euler-method step,step-method
EulerRichardson ODE solver class.EulerRichardson EulerRichardson EulerRichardson,ODE-method EulerRichardson-class init,EulerRichardson-method step,EulerRichardson-method
getEnergygetEnergy
getErrorCodegetErrorCode
getExactSolutiongetExactSolution
getODEgetODE
getRategetRate
getRateCountergetRateCounter
getRateCountsgetRateCounts
getStategetState
getStepSizegetStepSize
getTimegetTime
getTolerancegetTolerance
importFromExamplesimportFromExamples
initinit init<-
ODE classgetRate,getRate-method getRate,ODE-method getState,getState-method getState,ODE-method ODE ODE-class
ODEAdaptiveSolver class.ODEAdaptiveSolver getErrorCode,ODEAdaptiveSolver-method getTolerance,ODEAdaptiveSolver-method ODEAdaptiveSolver ODEAdaptiveSolver,ANY-method ODEAdaptiveSolver-class setTolerance,ODEAdaptiveSolver-method setTolerance<-,ODEAdaptiveSolver-method
ODESolver virtual class.ODESolver getODE,ODESolver-method getStepSize,ODESolver-method init,ODESolver-method ODESolver ODESolver-class setStepSize,ODESolver-method step,ODESolver-method
ODESolverFactory.ODESolverFactory createODESolver createODESolver,ODESolverFactory-method ODESolverFactory ODESolverFactory,ANY-method ODESolverFactory-class
RK4 class.RK4 init,RK4-method init<-,RK4-method RK4 RK4,ODE-method RK4-class step,RK4-method
RK45 ODE solver classRK45 RK45-class
run_test_applicationsrun_test_applications
setSolversetSolver<-
setStatesetState
setStepSizesetStepSize
setTolerancesetTolerance setTolerance<-
showMethods2showMethods2
stepstep
Verlet ODE solver class.Verlet getRateCounter,getRateCounter-method getRateCounter,Verlet-method init,Verlet-method init-methods step,Verlet-method Verlet Verlet,ODE-method Verlet-class