-
Notifications
You must be signed in to change notification settings - Fork 126
Save additional node variables in SaveSolutionCallback
#2298
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
Save additional node variables in SaveSolutionCallback
#2298
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Currently, the PR is somewhat inconsistent as for hyperbolic equations there is a dispatch based on the volume integral type, and for the parabolic equations we use an if-clause. This should be unified IMO. |
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.
In general, this looks good to me. Unfortunately, the correct export of the "limiting coefficient" is not CI tested extensively.
But, if you tested it locally and say it works properly, I'm fine with merging this after the one issue.
Maybe it also makes sense to add new functions |
@JoshuaLampert could you maybe also take a look and leave your thoughts here? |
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.
Thanks! I can image, this is a very useful feature. However, I would like to discuss the interface first, see my comment below.
I generalized the implementation such that now users can supply their own functions to be stored in the solution file. I need to test the mpi-implementations, but from my side this is ready for review. |
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.
Thanks! I left two comments about documentation below.
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.
LGTM!
Co-authored-by: Benjamin Bolm <[email protected]>
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.
Thanks a lot!
I have converted it to a draft so it's not accidentally merged because this is breaking. |
Could you please merge |
9be75aa
Ready to go @ranocha ! |
Co-authored-by: Hendrik Ranocha <[email protected]>
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.
Thanks
Save additional stuff in the solution callback for convenient visualization.