-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add defect control adaptivity #89
Merged
Merged
Changes from 12 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e2fc944
Add defect control adaptivity
ErikQQY 33b221e
Fix comments
ErikQQY f2dd8f6
format
ErikQQY 7d028ba
Fix errors
ErikQQY adcc35a
Fix more errors
ErikQQY 8863e45
Make mesh refinement work
ErikQQY 9f9e437
format
ErikQQY 1bfc50e
Ready for review
ErikQQY 642e5c8
Merge branch 'master' of https://github.com/ErikQQY/BoundaryValueDiff…
ErikQQY 13cbeae
format
ErikQQY d79c04b
Fix k_interp
ErikQQY ebfd30e
Merge branch 'master' into master
ErikQQY 6429528
Fix MIRKTableau
ErikQQY cb7ff37
Done mesh refinement
ErikQQY 3cbfecf
Merge branch 'master' into master
ErikQQY 1f59a70
Refactor
ErikQQY 38d4eaa
Fix sum_stages
ErikQQY 7fece70
Refactor MIRKGeneralCache
ErikQQY 2409831
Refactor k_interp
ErikQQY 89148bb
Fix BVPSystem in loop
ErikQQY 711acd0
x in tableau should be s x s
ErikQQY 2cf2a9f
Fix collocation error
ErikQQY 8d22794
Fix MIRK6 method and skip MIRK tests for now
ErikQQY 7c2cc23
Fianlly working
ErikQQY dbebe2f
Refactor
ErikQQY a13f1d4
Refactor half_mesh
ErikQQY a02c6e0
Refactor
ErikQQY 14d5a34
Fix retcode of NonlinearSolve
ErikQQY 1009899
Merge branch 'master' into master
ErikQQY 6a4860f
All done
ErikQQY File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
*.jl.*.cov | ||
*.jl.mem | ||
Manifest.toml | ||
.vscode | ||
.vscode/* |
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 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this to be mutable? It seems that the array elements are being updated later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The MIRK cache stores the discrete stages from evaluating
PHI
in the nonlinear solving process. Since we only need discrete stages from the final nonlinear solving step, I think the previous steps can be omitted, but I didn't figure out an executable way, e.g. judging if this step is the last time we evaluatePHI
🤔.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's mutating the values but not the cache itself