Intel ODE Solver Library

Intel ODE Solver Library - Intel ODE Solver Library - Messaggi

#1 Pubblicato: 31/01/2019 17:48:55
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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) scaricato 2327 volta(e).
iode.kinetic1.sm (7,75 KiB) scaricato 2276 volta(e).
iode.kinetic2.sm (14,4 KiB) scaricato 2132 volta(e).
iode.kinetic3.sm (14,08 KiB) scaricato 7096 volta(e).
iode.integrate.sm (10,57 KiB) scaricato 7056 volta(e).
iode.test1.sm (22,49 KiB) scaricato 2117 volta(e).
iode.test2.sm (22,5 KiB) scaricato 2265 volta(e).
iode.Amplitude detector.sm (20,18 KiB) scaricato 2207 volta(e).
Box_models.sm (100,18 KiB) scaricato 6957 volta(e).

iode.examples.pdf (416,34 KiB) scaricato 1317 volta(e).
iode.kinetic1.pdf (74,06 KiB) scaricato 1138 volta(e).
iode.kinetic2.pdf (90,4 KiB) scaricato 1131 volta(e).
iode.kinetic3.pdf (88,45 KiB) scaricato 1155 volta(e).
iode.integrate.pdf (88,91 KiB) scaricato 1218 volta(e).
iode.test1.pdf (116,24 KiB) scaricato 1175 volta(e).
iode.test2.pdf (121,64 KiB) scaricato 1130 volta(e).
iode.Amplitude detector.pdf (147,71 KiB) scaricato 1214 volta(e).
Box_models.pdf (145,32 KiB) scaricato 1342 volta(e).

Documents:

Intel ODE Solver Library Reference Manual (2018).pdf (239,74 KiB) scaricato 1272 volta(e).

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 utenti hanno apprezzato questo post
NDTM Amarasekera 01/02/2019 01:43:00, Davide Carpi 01/02/2019 10:56:00, Radovan Omorjan 01/02/2019 15:35:00
#2 Pubblicato: 11/07/2021 09:47:22
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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) scaricato 4243 volta(e).

EDIT: mk52lfa() and mk52lfn() will also perform well here
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Pubblicato: 11/07/2021 10:15:24
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1942 volta(e).
#4 Pubblicato: 11/07/2021 12:20:01
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Radovan Omorjan 11/07/2021 15:58:00
#5 Pubblicato: 11/07/2021 15:59:35
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: Moderator

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for ODE systems in mathematical form;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
2 utenti hanno apprezzato questo post
Davide Carpi 09/12/2021 17:26:00, sergio 09/12/2021 18:35:00
#7 Pubblicato: 20/12/2021 16:17:42
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post