Skip to content

Commit

Permalink
remove self_heat burn parameter (#2308)
Browse files Browse the repository at this point in the history
this no longer does anything
  • Loading branch information
zingale authored Nov 15, 2022
1 parent cd7cb45 commit 3b5735e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 1 addition & 4 deletions Diagnostics/timestep_limiter/limiter_util.F90
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ subroutine find_timestep_limiter_burning(lo, hi, state, slo, shi, nc_s, &
use eos_type_module, only: eos_t, eos_input_rt
use burner_module, only: ok_to_burn
use burn_type_module, only : burn_t, net_ienuc, burn_to_eos, eos_to_burn
use temperature_integration_module, only: self_heat
use network, only: nspec, aion
use meth_params_module, only : dtnuc_e, dtnuc_X, dtnuc_X_threshold
use extern_probin_module, only: small_x
Expand Down Expand Up @@ -178,8 +177,6 @@ subroutine find_timestep_limiter_burning(lo, hi, state, slo, shi, nc_s, &

state_new % dx = minval(dx(1:AMREX_SPACEDIM))

state_new % self_heat = .false.

call actual_rhs(state_new)

dedt = state_new % ydot(net_ienuc)
Expand Down Expand Up @@ -276,4 +273,4 @@ subroutine find_timestep_limiter_diffusion(lo, hi, state, slo, shi, nc_s, &
enddo

end subroutine find_timestep_limiter_diffusion
#endif
#endif
3 changes: 0 additions & 3 deletions Source/driver/timestep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@ Castro::estdt_burning (int is_new)

eos(eos_input_rt, burn_state);

#ifdef STRANG
burn_state.self_heat = true;
#endif
Array1D<Real, 1, neqs> ydot;
actual_rhs(burn_state, ydot);

Expand Down
4 changes: 0 additions & 4 deletions Source/reactions/Castro_react_util.H
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ single_zone_react_source(GpuArray<Real, NUM_STATE> const& state,
// eos_get_small_temp(&small_temp);
burn_state.T = amrex::min(MAX_TEMP, amrex::max(burn_state.T, small_temp));

#ifdef STRANG
burn_state.self_heat = false;
#endif

Array1D<Real, 1, neqs> ydot;

actual_rhs(burn_state, ydot);
Expand Down

0 comments on commit 3b5735e

Please sign in to comment.