Skip to content

Commit

Permalink
Merge branch 'development' into massive_star_screening
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Nov 30, 2023
2 parents 9de5fb8 + 2d523e8 commit c69205d
Show file tree
Hide file tree
Showing 9 changed files with 114,774 additions and 49,210 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
magmom 1.2327065163e-07 1.4587103381e-07
angular_momentum_x 0 0
angular_momentum_y 0 0
angular_momentum_z 0 0
angular_momentum_z -0 -0

12 changes: 9 additions & 3 deletions Exec/science/Detonation/problem_initialize.H
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void problem_initialize ()
problem::in14 = network_spec_index("nitrogen-14");
problem::io16 = network_spec_index("oxygen-16");

if (problem::ihe4 < 0 || problem::ic12 < 0 || problem::in14 < 0 || problem::io16 < 0) {
if (problem::ihe4 < 0 || problem::ic12 < 0 || problem::io16 < 0) {
amrex::Error("ERROR: species indices not found");
}

Expand Down Expand Up @@ -51,9 +51,15 @@ void problem_initialize ()
}

problem::xn[problem::ic12] = amrex::max(problem::cfrac, problem::smallx);
problem::xn[problem::in14] = amrex::max(problem::nfrac, problem::smallx);
problem::xn[problem::io16] = amrex::max(problem::ofrac, problem::smallx);
problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::nfrac - problem::ofrac - (NumSpec - 3) * problem::smallx;

if (problem::in14 >= 0) {
problem::xn[problem::in14] = amrex::max(problem::nfrac, problem::smallx);
problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::nfrac - problem::ofrac - (NumSpec - 3) * problem::smallx;
}
else {
problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::ofrac - (NumSpec - 2) * problem::smallx;
}

// Set the ambient material

Expand Down
32,793 changes: 32,793 additions & 0 deletions Exec/science/massive_star/15m_500_sec.aprox19.hse.10.00km

Large diffs are not rendered by default.

32,793 changes: 0 additions & 32,793 deletions Exec/science/massive_star/15m_500_sec.aprox19.hse.10.0km

This file was deleted.

16,409 changes: 16,409 additions & 0 deletions Exec/science/massive_star/15m_500_sec.aprox19.hse.20.00km

Large diffs are not rendered by default.

16,409 changes: 0 additions & 16,409 deletions Exec/science/massive_star/15m_500_sec.aprox19.hse.20.0km

This file was deleted.

65,561 changes: 65,561 additions & 0 deletions Exec/science/massive_star/15m_500_sec.aprox19.hse.5.00km

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Exec/science/massive_star/inputs_2d.nse
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ castro.max_subcycles = 16

# problem initialization

problem.model_name = "15m_500_sec.aprox19.hse.10.0km"
problem.model_name = "15m_500_sec.aprox19.hse.10.00km"

problem.perturb_model = 1
problem.velpert_amplitude = 5.e6
Expand Down
3 changes: 0 additions & 3 deletions Source/driver/_cpp_parameters
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,6 @@ sponge_timescale Real -1.0 SPONGE
# category: parallelization
#-----------------------------------------------------------------------------

# determines whether we use accelerators for specific loops
do_acc int -1

bndry_func_thread_safe int 1


Expand Down

0 comments on commit c69205d

Please sign in to comment.