1 Pages (7 items)
Intel ODE Solver Library - Intel ODE Solver Library - Messages
#1 Posted: 1/31/2019 5:48:55 PM
Intel ODE Solver Library

Functions list: rkm9st(5), mk52lfn(5), mk52lfa(5), rkm9mkn(5), rkm9mka(5).
rkm9st(init, x1, x2, intvls, D) A specialized routine for solving non-stiff and middle-stiff ODE systems using the explicit method, which is based on the 4th order Merson’s method and the 1st order multistage method of up to and including 9 stages with stability control.
mk52lfn(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with the numerical Jacobi matrix, which is computed by the routine.
mk52lfa(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with numerical or analytical computation of the Jacobi matrix. The user must provide a routine for this computation.
rkm9mkn(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step and computes the numerical Jacobi matrix when necessary.
rkm9mka(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step. The user must provide a routine for numerical or analytical computation of the Jacobi matrix.
Arguments:
- init is either a vector of n real initial values, where n is the number of unknowns (or a single scalar initial value, in the case of a single ODE).
- x1 and x2 are real, scalar endpoints of the interval over which the solution to the ODE(s) is evaluated. Initial values in init are the values of the ODE function(s) evaluated at x1.
- intvls is the integer number of discretization intervals used to interpolate the solution function. The number of solution points is the number of intervals + 1.
- D is a vector function of the form D(x,y) specifying the right-hand side of the system
[albumimg]1558[/albumimg] [albumimg]1568[/albumimg] [albumimg]1569[/albumimg] [albumimg]1529[/albumimg] [albumimg]1557[/albumimg]
iode.examples.sm (204 KiB) downloaded 242 time(s).
iode.kinetic1.sm (7 KiB) downloaded 144 time(s).
iode.kinetic2.sm (14 KiB) downloaded 121 time(s).
iode.kinetic3.sm (14 KiB) downloaded 126 time(s).
iode.integrate.sm (10 KiB) downloaded 139 time(s).
iode.test1.sm (22 KiB) downloaded 127 time(s).
iode.test2.sm (22 KiB) downloaded 123 time(s).
iode.Amplitude detector.sm (20 KiB) downloaded 133 time(s).
Box_models.sm (100 KiB) downloaded 102 time(s).
iode.examples.pdf (416 KiB) downloaded 201 time(s).
iode.kinetic1.pdf (74 KiB) downloaded 119 time(s).
iode.kinetic2.pdf (90 KiB) downloaded 96 time(s).
iode.kinetic3.pdf (88 KiB) downloaded 97 time(s).
iode.integrate.pdf (88 KiB) downloaded 114 time(s).
iode.test1.pdf (116 KiB) downloaded 103 time(s).
iode.test2.pdf (121 KiB) downloaded 95 time(s).
iode.Amplitude detector.pdf (147 KiB) downloaded 105 time(s).
Box_models.pdf (145 KiB) downloaded 90 time(s).
Documents:
Intel ODE Solver Library Reference Manual (2018).pdf (239 KiB) downloaded 105 time(s).
See also:
● [topic=726]Mathcad Toolbox[/topic]
● [topic=1918]DotNumerics[/topic]
● [topic=13809]SADEL[/topic]
● [topic=1970]Matlab C++ Math Library[/topic]
● [topic=17063]OSLO[/topic]
● [topic=17067]lsoda[/topic]
● [topic=1997]GNU Scientific Library (GSL)[/topic]






Functions list: rkm9st(5), mk52lfn(5), mk52lfa(5), rkm9mkn(5), rkm9mka(5).
rkm9st(init, x1, x2, intvls, D) A specialized routine for solving non-stiff and middle-stiff ODE systems using the explicit method, which is based on the 4th order Merson’s method and the 1st order multistage method of up to and including 9 stages with stability control.
mk52lfn(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with the numerical Jacobi matrix, which is computed by the routine.
mk52lfa(init, x1, x2, intvls, D) A specialized routine for solving stiff ODE systems using the implicit method based on L-stable (5,2)-method with numerical or analytical computation of the Jacobi matrix. The user must provide a routine for this computation.
rkm9mkn(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step and computes the numerical Jacobi matrix when necessary.
rkm9mka(init, x1, x2, intvls, D) A specialized routine for solving ODE systems with a variable or a priori unknown stiffness; automatically chooses the explicit or implicit scheme in every step. The user must provide a routine for numerical or analytical computation of the Jacobi matrix.
Arguments:
- init is either a vector of n real initial values, where n is the number of unknowns (or a single scalar initial value, in the case of a single ODE).
- x1 and x2 are real, scalar endpoints of the interval over which the solution to the ODE(s) is evaluated. Initial values in init are the values of the ODE function(s) evaluated at x1.
- intvls is the integer number of discretization intervals used to interpolate the solution function. The number of solution points is the number of intervals + 1.
- D is a vector function of the form D(x,y) specifying the right-hand side of the system
[albumimg]1558[/albumimg] [albumimg]1568[/albumimg] [albumimg]1569[/albumimg] [albumimg]1529[/albumimg] [albumimg]1557[/albumimg]
iode.examples.sm (204 KiB) downloaded 242 time(s).
iode.kinetic1.sm (7 KiB) downloaded 144 time(s).
iode.kinetic2.sm (14 KiB) downloaded 121 time(s).
iode.kinetic3.sm (14 KiB) downloaded 126 time(s).
iode.integrate.sm (10 KiB) downloaded 139 time(s).
iode.test1.sm (22 KiB) downloaded 127 time(s).
iode.test2.sm (22 KiB) downloaded 123 time(s).
iode.Amplitude detector.sm (20 KiB) downloaded 133 time(s).
Box_models.sm (100 KiB) downloaded 102 time(s).
iode.examples.pdf (416 KiB) downloaded 201 time(s).
iode.kinetic1.pdf (74 KiB) downloaded 119 time(s).
iode.kinetic2.pdf (90 KiB) downloaded 96 time(s).
iode.kinetic3.pdf (88 KiB) downloaded 97 time(s).
iode.integrate.pdf (88 KiB) downloaded 114 time(s).
iode.test1.pdf (116 KiB) downloaded 103 time(s).
iode.test2.pdf (121 KiB) downloaded 95 time(s).
iode.Amplitude detector.pdf (147 KiB) downloaded 105 time(s).
Box_models.pdf (145 KiB) downloaded 90 time(s).
Documents:
Intel ODE Solver Library Reference Manual (2018).pdf (239 KiB) downloaded 105 time(s).
See also:
● [topic=726]Mathcad Toolbox[/topic]
● [topic=1918]DotNumerics[/topic]
● [topic=13809]SADEL[/topic]
● [topic=1970]Matlab C++ Math Library[/topic]
● [topic=17063]OSLO[/topic]
● [topic=17067]lsoda[/topic]
● [topic=1997]GNU Scientific Library (GSL)[/topic]
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
NDTM Amarasekera 2/1/2019 1:43:00 AM, Davide Carpi 2/1/2019 10:56:00 AM, Radovan Omorjan 2/1/2019 3:35:00 PM
#2 Posted: 7/11/2021 9:47:22 AM
Hmm...even dn_GearsBDF() will go nuts for this example.
Just for the record...

iode.Amplitude detector-1.sm (19 KiB) downloaded 45 time(s).
EDIT: mk52lfa() and mk52lfn() will also perform well here
Just for the record...
iode.Amplitude detector-1.sm (19 KiB) downloaded 45 time(s).
EDIT: mk52lfa() and mk52lfn() will also perform well here
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 7/11/2021 10:15:24 AM
WroteHmm...even dn_GearsBDF() will go nuts for this example.
From recollection,NONE ODE solve that one.
Cheers ... Jean.
ODE rkfixed Pulse Pitfall.sm (37 KiB) downloaded 54 time(s).
#5 Posted: 7/11/2021 3:59:35 PM
I should have guessed that
. Thank you.

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Posted: 12/20/2021 4:17:42 PM

Plugin updated.
Changes:
- solution restructured;
- converting the task for the ODE solver to the numerical form is now performed through the Mathcad Toolbox plugin (to avoid code duplication), so it must be installed;
- refactored.
Solvers that support mathematical notation now reuse code from the Mathcad Toolbox plugin. Now there is no need to recompile every such plugin.
Russia ☭ forever, Viacheslav N. Mezentsev
1 Pages (7 items)
-
New Posts
-
No New Posts