@@ -405,9 +405,9 @@ constexpr int density_exponent_reverse ()
405
405
}
406
406
407
407
// Scale a rate using the density terms.
408
- template <int rate, typename dual_t >
408
+ template <int rate, typename number_t >
409
409
AMREX_GPU_HOST_DEVICE AMREX_INLINE
410
- void apply_density_scaling (const rhs_state_t <dual_t >& state, rate_t & rates)
410
+ void apply_density_scaling (const rhs_state_t <number_t >& state, rate_t & rates)
411
411
{
412
412
constexpr int forward_exponent = density_exponent_forward<rate>();
413
413
constexpr int reverse_exponent = density_exponent_reverse<rate>();
@@ -447,9 +447,9 @@ void apply_density_scaling (const rhs_state_t<dual_t>& state, rate_t& rates)
447
447
448
448
#ifdef SCREENING
449
449
// Apply the screening term to a given rate.
450
- template <int rate, typename dual_t >
450
+ template <int rate, typename number_t >
451
451
AMREX_GPU_HOST_DEVICE AMREX_INLINE
452
- void apply_screening (const rhs_state_t <dual_t >& state, rate_t & rates)
452
+ void apply_screening (const rhs_state_t <number_t >& state, rate_t & rates)
453
453
{
454
454
// The screening behavior depends on the type of reaction. We provide screening
455
455
// here for the reaction classes we know about, and any other reactions are unscreened.
@@ -622,9 +622,9 @@ void tabulate_rates ()
622
622
}
623
623
624
624
// Evaluate a rate using the rate tables.
625
- template <int rate, typename dual_t >
625
+ template <int rate, typename number_t >
626
626
AMREX_GPU_HOST_DEVICE AMREX_INLINE
627
- void evaluate_tabulated_rate (const rhs_state_t <dual_t >& state, rate_t & rates)
627
+ void evaluate_tabulated_rate (const rhs_state_t <number_t >& state, rate_t & rates)
628
628
{
629
629
rates.fr = (state.tab .alfa * rattab (rate, 1 , state.tab .iat ) +
630
630
state.tab .beta * rattab (rate, 1 , state.tab .iat +1 ) +
@@ -1141,9 +1141,9 @@ constexpr amrex::Real jac_term (const burn_t& state, const rate_t& rates)
1141
1141
return term;
1142
1142
}
1143
1143
1144
- template <int rate, typename dual_t >
1144
+ template <int rate, typename number_t >
1145
1145
AMREX_GPU_HOST_DEVICE AMREX_INLINE
1146
- void construct_rate (const rhs_state_t <dual_t >& state, rate_t & rates)
1146
+ void construct_rate (const rhs_state_t <number_t >& state, rate_t & rates)
1147
1147
{
1148
1148
using namespace Species ;
1149
1149
using namespace Rates ;
0 commit comments