add a script to test network compatibility with NSE_NET #1416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This script is based on burn_cell. This script does constant temperature evolution and compares it to the NSE results. It prints out tables at the end that show the absolute and relative errors of mass fractions.
There are three cases for ye: <0.5, =0.5, >0.5
Both temperature and density are set at runtime.
Since we didn't set a reference cell size, we should let
nse.nse_dx_independent=1
, if we want to see whether the burn_state would enter NSE.If
nse.nse_dx_independent=1
, then the script only prints out cases when burn_state failed to enter NSE.This should come after PR #1408 is reviewed.