-
Notifications
You must be signed in to change notification settings - Fork 134
Adaptive Volume Integral #2601
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
base: main
Are you sure you want to change the base?
Adaptive Volume Integral #2601
Conversation
…ixi.jl into VolumeIntegralAdaptive
| Possible combination: [`VolumeIntegralWeakForm`](@ref) and [`VolumeIntegralFluxDifferencing`](@ref). | ||
| TODO: Extend to [`VolumeIntegralWeakForm`](@ref) and [`VolumeIntegralShockCapturingHG`](@ref). |
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.
There are some TODO notes left. How do you want to handle them?
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.
This is probably something for the Trixi meeting. The main question is if VolumeIntegralShockCapturingHG should be (internally) re-implemented as a VolumeIntegralAdaptive.
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.
👍
| """ | ||
| VolumeIntegralAdaptive(indicator; | ||
| volume_integral_default = VolumeIntegralWeakForm(), | ||
| volume_integral_stabilized = VolumeIntegralFluxDifferencing(flux_central)) |
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.
Shall we really prove this as default value? Or should we force people to make a reasonable choice?
| @threaded for element in eachelement(dg, cache) | ||
| stabilized_version = decision[element] | ||
|
|
||
| # TODO: Generalize/Dispatch or introduce yet sub-functions of the volume integrals |
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.
Good question
Co-authored-by: Hendrik Ranocha <[email protected]>
|
Please ping me if you would like to have another round of feedback on this PR. |
Having merged #2488 one could realize #2472 and (subsequently) #2149 via this. In fact,
VolumeIntegralShockCapturingHGcould also be brought into this framework.The benefit is greatly reduced computation time of the volume integral, more profound for higher polynomial degrees. For the examples employed in this (draft) PR, the volume integral computation can be roughly reduced by a factor of two.