Skip to content

Commit

Permalink
clean unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed Oct 11, 2024
1 parent 4c5af29 commit 93c72fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/radiation/radiation_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,6 @@ AMREX_GPU_DEVICE auto RadSystem<problem_t>::ComputeDustTemperatureBateKeto(doubl
double dLHS_dTd = NAN;

if constexpr (nGroups_ == 1) {
const auto kappaE = ComputeEnergyMeanOpacity(rho, T_d);
const auto kappaP = ComputePlanckOpacity(rho, T_d);
const auto d_fourpib_over_c_d_t = ComputeThermalRadiationTempDerivativeSingleGroup(T_d);
dLHS_dTd = -c_hat_ * dt * rho * (kappaP * d_fourpib_over_c_d_t) - N_d * std::sqrt(T_gas);
Expand Down

0 comments on commit 93c72fe

Please sign in to comment.