This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 49
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced May 27, 2015
Closed
(Copied from DASSL)
When intital time step overstepped tspan[end] then it didn't work correctly.
The problem was that A_ldiv_B! does not update B in case A is a sparse lufact: https://github.com/JuliaLang/julia/issues/10787 Sparse coloring does not work yet.
Large sparse Jacobians can now be numerically approximated using coloring with https://github.com/mauro3/MatrixColorings.jl. The bruss1d.jl example shows it in action. |
[ci skip]
Wow, the performance boost is really impressive. What is the increase in performance for smaller systems? Do you think it could be used in DASSL? |
Thanks :-) The coloring only really helps for sparse Jacobians (try setting N=5000 in the bruss1d example and use the numeric Jacobian in DASSL). I suspect small sparse systems may still be slower. You should be able to pretty much just plug it into DASSL except that I used in-place functions, see: https://github.com/mauro3/ODE.jl/blob/m3/rosw/src/rosw.jl#L465 |
Closed
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is work in progress of me and @jedbrown to implement Rosenbrock(-W) methods. It uses a different interface to what ODE.jl has: implicit in-place functions. Works for ODE and DAEs. At the moment two methods are implemented: Rodas3 and RA34PW2.
This will take some time until it is ready to be considered for a merge. But it works now (see
examples/
folder) and might be of use to someone. The simple benchmarks in the example folder suggests that these solvers can be faster and more memory efficient than DASSL andode23s
, e.g. van der Pol: