Skip to content

restart from plot file: enable mapping to different names for species#546

Merged
baperry2 merged 5 commits intoAMReX-Combustion:developmentfrom
baperry2:plt-restart-specmap
Aug 15, 2025
Merged

restart from plot file: enable mapping to different names for species#546
baperry2 merged 5 commits intoAMReX-Combustion:developmentfrom
baperry2:plt-restart-specmap

Conversation

@baperry2
Copy link
Copy Markdown
Collaborator

You can now specify

peleLM.initDataPlt_specname_map = spec1 spec2 spec3

to lookup species from the plot file used for initialization with different variable names in that file. The number of names in the map must equal NUM_SPECIES and go in the same order as defined in mechanism.H.

Also adds some verbosity level checks around Print statements in the initLevelDataFromPlt function.

@baperry2 baperry2 requested a review from SreejithNREL July 31, 2025 22:23
@baperry2 baperry2 enabled auto-merge (squash) August 12, 2025 18:01
@baperry2 baperry2 disabled auto-merge August 13, 2025 18:42
@baperry2 baperry2 merged commit 422dad4 into AMReX-Combustion:development Aug 15, 2025
25 checks passed
@baperry2 baperry2 deleted the plt-restart-specmap branch August 15, 2025 16:25
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