Comments (6)
A partial answer is provided in my reported issue #34.
from rklib.
I answer here the question asked in PR #31.
I came up with the test myself, so I cannot provide any reference that supports its validity. That said, the test is mathematically trivial and the fact that it works "exactly" for so many methods of different orders, does give me some comfort that the rationale must be correct. Furthermore, to the best of my knowledge, the order constraints (see Butcher) are another way of expressing that same consistency requirement.
Thus, IMO, any scheme that does not pass this test has inconsistent coefficients.
from rklib.
With the latest commit, we now only have the following three failing:
Method Variable xf Success
----------------------------------------------------
rktp75 T 7.022258831547581E-01 F
rkdp85 T 6.423150741778192E-01 F
rktp86 T 2.389109029661114E-01 F
Need to look into it more...maybe there are some more typos in these routines.
from rklib.
fixed rkdp85
. Don't yet seen anything obvious in the other two.
from rklib.
fixed the other two. all pass now!
from rklib.
Method Variable xf Success
----------------------------------------------------
euler F 1.000000000000000E+00 T
midpoint F 1.000000000000000E+00 T
heun F 1.000000000000000E+00 T
rkssp22 F 1.000000000000000E+00 T
rk3 F 1.000000000000000E+00 T
rkssp33 F 1.000000000000000E+00 T
rkssp53 F 1.000000000000002E+00 T
rk4 F 1.000000000000000E+00 T
rks4 F 1.000000000000000E+00 T
rkr4 F 9.999999999999999E-01 T
rkls44 F 1.000000000000000E+00 T
rkls54 F 1.000000000000000E+00 T
rkssp54 F 9.999999999999998E-01 T
rks5 F 1.000000000000000E+00 T
rk5 F 1.000000000000001E+00 T
rkc5 F 9.999999999999999E-01 T
rkl5 F 1.000000000000000E+00 T
rklk5a F 9.999999999999997E-01 T
rklk5b F 1.000000000000000E+00 T
rkb6 F 1.000000000000000E+00 T
rk7 F 1.000000000000000E+00 T
rk8_10 F 1.000000000000000E+00 T
rkcv8 F 9.999999999999998E-01 T
rk8_12 F 1.000000000000000E+00 T
rkz10 F 9.999999999999960E-01 T
rko10 F 1.000000000000000E+00 T
rkh10 F 9.999999999999998E-01 T
rkbs32 T 1.000000000000000E+00 T
rkssp43 T 1.000000000000000E+00 T
rkf45 T 1.000000000000000E+00 T
rkck54 T 9.999999999999999E-01 T
rkdp54 T 1.000000000000001E+00 T
rkt54 T 1.000000000000004E+00 T
rks54 T 1.000000000000004E+00 T
rkpp54 T 9.999999999999998E-01 T
rkpp54b T 9.999999999999956E-01 T
rkbs54 T 1.000000000000000E+00 T
rkss54 T 1.000000000000000E+00 T
rkdp65 T 1.000000000000000E+00 T
rkc65 T 1.000000000000000E+00 T
rktp64 T 1.000000000000000E+00 T
rkv65e T 9.999999999997726E-01 T
rkv65r T 1.000000000000000E+00 T
rkv65 T 1.000000000000000E+00 T
dverk65 T 1.000000000000000E+00 T
rktf65 T 1.000000000000000E+00 T
rktp75 T 1.000000000000000E+00 T
rktmy7 T 9.999999999998863E-01 T
rktmy7s T 1.000000000000000E+00 T
rkv76e T 1.000000000000000E+00 T
rkv76r T 1.000000000000000E+00 T
rkss76 T 1.000000000000001E+00 T
rkf78 T 1.000000000000000E+00 T
rkv78 T 9.999999999999999E-01 T
dverk78 T 1.000000000000023E+00 T
rkdp85 T 9.999999999999999E-01 T
rktp86 T 1.000000000000004E+00 T
rkdp87 T 9.999999999999996E-01 T
rkv87e T 9.999999999999840E-01 T
rkv87r T 9.999999999999999E-01 T
rkev87 T 1.000000000000005E+00 T
rkk87 T 9.999999999996811E-01 T
rkf89 T 1.000000000000000E+00 T
rkv89 T 1.000000000000000E+00 T
rkt98a T 9.999999999999893E-01 T
rkv98e T 1.000000000000000E+00 T
rkv98r T 1.000000000000000E+00 T
rks98 T 9.999999999999998E-01 T
rkf108 T 9.999999999999998E-01 T
rkc108 T 9.999999999999998E-01 T
rkb109 T 9.999999999999964E-01 T
rks1110a T 1.000000000000004E+00 T
rkf1210 T 9.999999999999994E-01 T
rko129 T 9.999999999999994E-01 T
rkf1412 T 9.999999999999997E-01 T
from rklib.
Related Issues (19)
- Runge-Kutta Nystrom
- More unit tests
- Add github doc website to the About section HOT 1
- Unused parameters in `rklib_variable_steps.f90` HOT 1
- Is check `if (h==zero)` required? HOT 1
- Plot line style/color
- Structure of the files HOT 2
- Notation in readme example
- Notation `terr`
- Cache for auxiliary variables in step procedures
- Improve support for method properties (name, etc.) HOT 4
- Selectable root finder HOT 1
- Other root finder inputs
- Merge `x` and `xf` into single inout argument in step procedures HOT 1
- Error in DVERK65 HOT 2
- Discrepancy between some rational number coefficients and their decimal values HOT 2
- possible issue in the relative step error computations in case of variable step-size integrators HOT 2
- Dense output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rklib.