Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/129.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ boost odeint有跳转算法吗?_C++_Boost_Differential Equations_Odeint - Fatal编程技术网

C++ boost odeint有跳转算法吗?

C++ boost odeint有跳转算法吗?,c++,boost,differential-equations,odeint,C++,Boost,Differential Equations,Odeint,我使用的是boost::odeint,到目前为止,我使用的是runge_kutta4步进器。现在我想切换到一种蛙跳方法,例如,我的迭代步骤应该如下所示: f(t+dt) = f(t-dt) - p * f(t) 因此,我需要一个多步骤的方法,但我对文档有点迷茫,希望得到一些帮助。目前尚未实现蛙跳。但在Adam Bashforth方法的帮助下,它应该很容易实现。我在我们的问题跟踪程序中打开了一个标签:这项计划很快实施的可能性有多大?非常高。几乎一切都已经存在。我们只需要对Adam Bashfor

我使用的是boost::odeint,到目前为止,我使用的是runge_kutta4步进器。现在我想切换到一种蛙跳方法,例如,我的迭代步骤应该如下所示:

f(t+dt) = f(t-dt) - p * f(t)

因此,我需要一个多步骤的方法,但我对文档有点迷茫,希望得到一些帮助。

目前尚未实现蛙跳。但在Adam Bashforth方法的帮助下,它应该很容易实现。我在我们的问题跟踪程序中打开了一个标签:

这项计划很快实施的可能性有多大?非常高。几乎一切都已经存在。我们只需要对Adam Bashforth方法的任意系数进行一次小的重构。实施起来并不那么容易。如果你需要一个哈密顿或牛顿系统的解算器,你也可以使用一种辛方法,比如辛欧拉,或者ymplectic_rkn_sb3a_m4_mclachlan。