Skip to content

Feature overwrite plt file#406

Merged
esclapez merged 3 commits intoAMReX-Combustion:developmentfrom
EnnaDelfen:feature_overwritePltFile
Aug 28, 2024
Merged

Feature overwrite plt file#406
esclapez merged 3 commits intoAMReX-Combustion:developmentfrom
EnnaDelfen:feature_overwritePltFile

Conversation

@EnnaDelfen
Copy link
Copy Markdown
Contributor

This PR adds the option to overwrite plot and checkpoint files instead of duplicating them with the old.****** extension. Default option is FALSE. The doc has also been updated.

@EnnaDelfen EnnaDelfen requested a review from esclapez August 27, 2024 21:05
Copy link
Copy Markdown
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.

I'm surprised a standard way to do this doesn't exist in AMReX, but it looks like it doesn't, so I think adding it here in LMeX makes sense.

@esclapez
Copy link
Copy Markdown
Collaborator

@baperry2 There is a "destructive" function in AMReX, but it is never used, you would need to overload AMReX plot file function and pass a flag in there. The "destructive" function is probably legacy piece of code, maybe AMReX or even BoxLib used to handle a plt. parmparse.

@esclapez esclapez merged commit 8218bc0 into AMReX-Combustion:development Aug 28, 2024
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.

3 participants