Commit b41ff25 1 parent fc1cfa4 commit b41ff25 Copy full SHA for b41ff25
File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ EOS_DIR := helmholtz
24
24
25
25
# This sets the network directory
26
26
NETWORK_DIR := aprox13
27
-
27
+ SCREEN_METHOD := screen5
28
28
CONDUCTIVITY_DIR := stellar
29
29
30
30
INTEGRATOR_DIR = VODE
Original file line number Diff line number Diff line change @@ -19,3 +19,5 @@ density real 1.e7
19
19
temperature real 3.e9
20
20
21
21
skip_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()
21
21
// Make sure user set all the mass fractions to values in the interval [0, 1]
22
22
for (int n = 1 ; n <= NumSpec; ++n) {
23
23
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);
25
28
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
+ }
28
32
}
29
-
30
33
}
31
34
32
35
// Echo initial conditions at burn and fill burn state input
You can’t perform that action at this time.
0 commit comments