Intel ODE Solver Library

Intel ODE Solver Library - Intel ODE Solver Library - 消息

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

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

1,558个赞,共1,868个帖子。

组: 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)已下载 2337 次。
iode.kinetic1.sm (7.75 KiB)已下载 2287 次。
iode.kinetic2.sm (14.4 KiB)已下载 2142 次。
iode.kinetic3.sm (14.08 KiB)已下载 7113 次。
iode.integrate.sm (10.57 KiB)已下载 7075 次。
iode.test1.sm (22.49 KiB)已下载 2133 次。
iode.test2.sm (22.5 KiB)已下载 2287 次。
iode.Amplitude detector.sm (20.18 KiB)已下载 2218 次。
Box_models.sm (100.18 KiB)已下载 6968 次。

iode.examples.pdf (416.34 KiB)已下载 1326 次。
iode.kinetic1.pdf (74.06 KiB)已下载 1147 次。
iode.kinetic2.pdf (90.4 KiB)已下载 1142 次。
iode.kinetic3.pdf (88.45 KiB)已下载 1169 次。
iode.integrate.pdf (88.91 KiB)已下载 1226 次。
iode.test1.pdf (116.24 KiB)已下载 1182 次。
iode.test2.pdf (121.64 KiB)已下载 1147 次。
iode.Amplitude detector.pdf (147.71 KiB)已下载 1225 次。
Box_models.pdf (145.32 KiB)已下载 1358 次。

Documents:

Intel ODE Solver Library Reference Manual (2018).pdf (239.74 KiB)已下载 1281 次。

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位用户喜欢此帖子
NDTM Amarasekera 2019/2/1 01:43:00, Davide Carpi 2019/2/1 10:56:00, Radovan Omorjan 2019/2/1 15:35:00
#2 已发布: 2021/7/11 09:47:22
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: 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)已下载 4257 次。

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

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1961 次。
#4 已发布: 2021/7/11 12:20:01
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
Radovan Omorjan 2021/7/11 15:58:00
#5 已发布: 2021/7/11 15:59:35
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

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

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

1,558个赞,共1,868个帖子。

组: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for ODE systems in mathematical form;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
Davide Carpi 2021/12/9 17:26:00, sergio 2021/12/9 18:35:00
#7 已发布: 2021/12/20 16:17:42
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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
  • 有新帖
  • 无新帖