File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ EOS_DIR := helmholtz
2424
2525# This sets the network directory
2626NETWORK_DIR := aprox13
27-
27+ SCREEN_METHOD := screen5
2828CONDUCTIVITY_DIR := stellar
2929
3030INTEGRATOR_DIR = VODE
Original file line number Diff line number Diff line change @@ -19,3 +19,5 @@ density real 1.e7
1919temperature real 3.e9
2020
2121skip_initial_normalization bool 0
22+
23+ init_species_all_equal bool 0
Original file line number Diff line number Diff line change @@ -21,12 +21,15 @@ void burn_cell_c()
2121 // Make sure user set all the mass fractions to values in the interval [0, 1]
2222 for (int n = 1 ; n <= NumSpec; ++n) {
2323
24- massfractions[n-1 ] = get_xn (n);
24+ if (unit_test_rp::init_species_all_equal) {
25+ massfractions[n-1 ] = 1 .0_rt / static_cast <amrex::Real>(NumSpec);
26+ } else {
27+ massfractions[n-1 ] = get_xn (n);
2528
26- if (massfractions[n-1 ] < 0 || massfractions[n-1 ] > 1 ) {
27- amrex::Error (" mass fraction for " + short_spec_names_cxx[n-1 ] + " not initialized in the interval [0,1]!" );
29+ if (massfractions[n-1 ] < 0 || massfractions[n-1 ] > 1 ) {
30+ amrex::Error (" mass fraction for " + short_spec_names_cxx[n-1 ] + " not initialized in the interval [0,1]!" );
31+ }
2832 }
29-
3033 }
3134
3235 // Echo initial conditions at burn and fill burn state input
You can’t perform that action at this time.
0 commit comments