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

Add an amr.regrid_on_restart option. #197

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Conversation

esclapez
Copy link
Collaborator

No description provided.

@esclapez esclapez requested a review from baperry2 April 18, 2023 21:44
Copy link
Collaborator

@baperry2 baperry2 left a comment

Choose a reason for hiding this comment

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

Just curious - when would users want to set this option?

@esclapez
Copy link
Collaborator Author

If you want to restart and add level(s) right away or change your tagging criterion right from the start. Otherwise, you will have to wait until the next amr.regrid_int. And even then, regrid is not recursive so that it can only adds a single level each time it is called even if you've increased your amr.max_level by 2.

@esclapez esclapez merged commit 7aba268 into development Apr 22, 2023
@esclapez esclapez deleted the regridOnRestart branch April 22, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants