GithubHelp home page GithubHelp logo

Comments (6)

xecej4 avatar xecej4 commented on June 14, 2024 1

A partial answer is provided in my reported issue #34.

from rklib.

HugoMVale avatar HugoMVale commented on June 14, 2024

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.

jacobwilliams avatar jacobwilliams commented on June 14, 2024

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.

jacobwilliams avatar jacobwilliams commented on June 14, 2024

fixed rkdp85. Don't yet seen anything obvious in the other two.

from rklib.

jacobwilliams avatar jacobwilliams commented on June 14, 2024

fixed the other two. all pass now!

from rklib.

jacobwilliams avatar jacobwilliams commented on June 14, 2024
    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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.