Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test_jac numerical Jacobian #1615

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions unit_test/test_jac/jac_zones.H
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ bool do_jac (int i, int j, int k, amrex::Array4<amrex::Real> const& state, const

normalize_abundances_burn(burn_state);

eos_extra_t eos_state;

burn_to_eos(burn_state, eos_state);

eos(eos_input_rt, eos_state);

eos_to_burn(eos_state, burn_state);
eos(eos_input_rt, burn_state);

// the integrator doesn't actually care about the initial internal
// energy.
burn_state.e = 0.0_rt;
//burn_state.e = 0.0_rt;

JacNetArray2D jac_analytic;
JacNetArray2D jac_numerical;
Expand Down
Loading