-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
computational inefficiency #198
Comments
I think there's a mathematical error in this code, from explicit_predictors.hpp 741:
|
No, this is actually correct. But doing that extra LU is potentially VERY expensive. do we really need this? Is there a better way? |
I think that the ODE predictor information, the numbers for the Butcher tables, etc, should be written in at compile time. Refactor to use a typetraits system? |
In FullStep, we tell |
Why do stages later than
line 886, explicit_predictors in |
Inside all stages,
|
See https://eigen.tuxfamily.org/dox/group__InplaceDecomposition.html, where they describe how to do in-place LU decompositions. This could really be nice. Todo: rewrite the LU stuff in Actually, I think @jbcolli2 did a decent job of making variables for temps that have some purpose beyond their first use, by adding |
in |
I found some pessimizations in explicit_predictors.hpp, in
FullStep()
. A temp vector is set to 0 when it doesn't need to be. It can just be set to the first of them, and then the loops can run from 1 to bla instead of from 0 to bla. this is probably a fairly important improvement to make.The text was updated successfully, but these errors were encountered: