From 6dbee4df9d62cdf2684e910cf872ec0558a13c24 Mon Sep 17 00:00:00 2001 From: Sigfried Haering Date: Mon, 14 Oct 2024 22:14:14 -0700 Subject: [PATCH] missing declarations --- src/reaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reaction.cpp b/src/reaction.cpp index a76d796e..57959794 100644 --- a/src/reaction.cpp +++ b/src/reaction.cpp @@ -319,7 +319,7 @@ MFEM_HOST_DEVICE double RadiativeDecay::computeRateCoefficient(const double &T_h const int &dofindex, [[maybe_unused]] const bool isElectronInvolved, const double *nsp) { - effAcoef = 0.0; + double effAcoef = 0.0; return effAcoef; } @@ -331,7 +331,7 @@ MFEM_HOST_DEVICE void RadiativeDecay::GetEinsteinACoefficient(const double &T_h, MFEM_HOST_DEVICE double RadiativeDecay::escapeFactCalc(const double &n_i, const double &E_j, const double &E_i, const double &g_j, const double &g_i, const double &A_ji, const double &T_g) { - eta = 1.0; + double eta = 1.0; return eta; } #endif