Intel ODE Solver Library

Intel ODE Solver Library - Intel ODE Solver Library - Messages

#1 Posted: 1/31/2019 5:48:55 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,542 likes in 1,856 posts.

Group: Moderator

Intel ODE Solver Library

SMath Studio compatibility SMath Viewer compatibility mono compatibility Platform Extension page Sources


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

2018-12-24_13-43-45.png iode.test1.png iode.test2.png 2018-12-12_17-25-33.png 2018-12-24_13-32-46.png

iode.examples.sm (204.21 KiB) downloaded 1762 time(s).
iode.kinetic1.sm (7.75 KiB) downloaded 1660 time(s).
iode.kinetic2.sm (14.4 KiB) downloaded 1592 time(s).
iode.kinetic3.sm (14.08 KiB) downloaded 6485 time(s).
iode.integrate.sm (10.57 KiB) downloaded 6494 time(s).
iode.test1.sm (22.49 KiB) downloaded 1581 time(s).
iode.test2.sm (22.5 KiB) downloaded 1698 time(s).
iode.Amplitude detector.sm (20.18 KiB) downloaded 1637 time(s).
Box_models.sm (100.18 KiB) downloaded 6410 time(s).

iode.examples.pdf (416.34 KiB) downloaded 956 time(s).
iode.kinetic1.pdf (74.06 KiB) downloaded 791 time(s).
iode.kinetic2.pdf (90.4 KiB) downloaded 770 time(s).
iode.kinetic3.pdf (88.45 KiB) downloaded 740 time(s).
iode.integrate.pdf (88.91 KiB) downloaded 872 time(s).
iode.test1.pdf (116.24 KiB) downloaded 811 time(s).
iode.test2.pdf (121.64 KiB) downloaded 755 time(s).
iode.Amplitude detector.pdf (147.71 KiB) downloaded 848 time(s).
Box_models.pdf (145.32 KiB) downloaded 849 time(s).

Documents:

Intel ODE Solver Library Reference Manual (2018).pdf (239.74 KiB) downloaded 925 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
Radovan Omorjan

Radovan Omorjan

325 likes and 1 dislikes in 2,052 posts.

Group: Moderator

Hmm...even dn_GearsBDF() will go nuts for this example.

Just for the record...

iode.Amplitude detector-1.sm.png
iode.Amplitude detector-1.sm (19.9 KiB) downloaded 3741 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
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hmm...even dn_GearsBDF() will go nuts for this example.


From recollection,NONE ODE solve that one.
Cheers ... Jean.

ODE rkfixed Pulse Pitfall.sm (37.2 KiB) downloaded 1408 time(s).
#4 Posted: 7/11/2021 12:20:01 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,542 likes in 1,856 posts.

Group: Moderator

Wrote

Hmm...even dn_GearsBDF() will go nuts for this example.


A little help is needed here

2021-07-11_20-18-09.png


Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Radovan Omorjan 7/11/2021 3:58:00 PM
#5 Posted: 7/11/2021 3:59:35 PM
Radovan Omorjan

Radovan Omorjan

325 likes and 1 dislikes in 2,052 posts.

Group: Moderator

I should have guessed that . Thank you.
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 12/9/2021 4:12:56 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,542 likes in 1,856 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for ODE systems in mathematical form;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 12/9/2021 5:26:00 PM, sergio 12/9/2021 6:35:00 PM
#7 Posted: 12/20/2021 4:17:42 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,542 likes in 1,856 posts.

Group: Moderator

SMath Studio compatibility

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
  • New Posts
  • No New Posts