Skip to content
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

[Bugfix] SwitchFinerLevelsToWaveScheme in Refine.cpp #399

Merged

Conversation

hyschive
Copy link
Contributor

@hyschive hyschive commented Jan 4, 2025

This bugfix prevents SwitchFinerLevelsToWaveScheme from being reset to false in Refine.cpp in the serial mode. This issue happens when a fluid patch at the ELBDM_FIRST_WAVE_LEVEL-1 level is flagged for refinement by criteria other than OPT__FLAG_INTERFERENCE. Note that the parallel routine LB_Refine_GetNewRealPatchList.cpp does not have this problem.

@hyschive hyschive added bugfix Fix bugs amr AMR fdm Fuzzy dark matter labels Jan 4, 2025
@KunkelAlexander
Copy link
Contributor

@hyschive Thank you for this bugfix and sorry for my late reply. That absolutely makes sense and I am sorry I had not thought of this before.

Copy link
Contributor

@KunkelAlexander KunkelAlexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, that is what this line was supposed to do. Thank you!

@hyschive
Copy link
Contributor Author

Thanks for the review!

@hyschive hyschive merged commit 05bf0ae into gamer-project:main Feb 17, 2025
@hyschive hyschive deleted the pr-bugfix-flag-interference-serial branch February 17, 2025 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amr AMR bugfix Fix bugs fdm Fuzzy dark matter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants