diff --git a/src/QuokkaSimulation.hpp b/src/QuokkaSimulation.hpp index 343d577d4..601915334 100644 --- a/src/QuokkaSimulation.hpp +++ b/src/QuokkaSimulation.hpp @@ -1679,13 +1679,13 @@ void QuokkaSimulation::subcycleRadiationAtLevel(int lev, amrex::Real static_cast(global_solver_count) / static_cast(n_cells) / 2.0; // 2 stages const double global_decoupled_iteration_mean = static_cast(global_decoupled_iteration_sum) / static_cast(global_solver_count); - amrex::Print() - << "The average number of Newton-Raphson solvings per IMEX stage is " << global_solving_mean - << ", (mean, max) number of Newton-Raphson iterations are " << global_iteration_mean << ", " << global_iteration_max - << ".\n"; - if constexpr (RadSystem_Traits::enable_dust_gas_thermal_coupling_model) { - amrex::Print() << "The fraction of gas-dust interactions that are decoupled is " << global_decoupled_iteration_mean << "\n"; - } + amrex::Print() << "The average number of Newton-Raphson solvings per IMEX stage is " << global_solving_mean + << ", (mean, max) number of Newton-Raphson iterations are " << global_iteration_mean << ", " + << global_iteration_max << ".\n"; + if constexpr (RadSystem_Traits::enable_dust_gas_thermal_coupling_model) { + amrex::Print() << "The fraction of gas-dust interactions that are decoupled is " + << global_decoupled_iteration_mean << "\n"; + } } } } diff --git a/src/problems/RadMarshakDust/test_radiation_marshak_dust.cpp b/src/problems/RadMarshakDust/test_radiation_marshak_dust.cpp index 0b73626f7..8f39445bb 100644 --- a/src/problems/RadMarshakDust/test_radiation_marshak_dust.cpp +++ b/src/problems/RadMarshakDust/test_radiation_marshak_dust.cpp @@ -89,7 +89,7 @@ template <> AMREX_GPU_HOST_DEVICE auto RadSystem::ComputeFluxMea template <> AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto RadSystem::DefineOpacityExponentsAndLowerValues(amrex::GpuArray /*rad_boundaries*/, const double /*rho*/, - const double /*Tgas*/) -> amrex::GpuArray, 2> + const double /*Tgas*/) -> amrex::GpuArray, 2> { amrex::GpuArray, 2> exponents_and_values{}; for (int i = 0; i < nGroups_ + 1; ++i) { @@ -130,9 +130,9 @@ template <> void QuokkaSimulation::setInitialConditionsOnGrid(qu template <> AMREX_GPU_DEVICE AMREX_FORCE_INLINE void -AMRSimulation::setCustomBoundaryConditions(const amrex::IntVect &iv, amrex::Array4 const &consVar, int /*dcomp*/, - int /*numcomp*/, amrex::GeometryData const &geom, const amrex::Real /*time*/, - const amrex::BCRec * /*bcr*/, int /*bcomp*/, int /*orig_comp*/) +AMRSimulation::setCustomBoundaryConditions(const amrex::IntVect &iv, amrex::Array4 const &consVar, int /*dcomp*/, int /*numcomp*/, + amrex::GeometryData const &geom, const amrex::Real /*time*/, const amrex::BCRec * /*bcr*/, + int /*bcomp*/, int /*orig_comp*/) { #if (AMREX_SPACEDIM == 1) auto i = iv.toArray()[0]; diff --git a/src/problems/RadMarshakDustPE/test_radiation_marshak_dust_and_PE.cpp b/src/problems/RadMarshakDustPE/test_radiation_marshak_dust_and_PE.cpp index 0183a9662..50b377eb1 100644 --- a/src/problems/RadMarshakDustPE/test_radiation_marshak_dust_and_PE.cpp +++ b/src/problems/RadMarshakDustPE/test_radiation_marshak_dust_and_PE.cpp @@ -83,7 +83,7 @@ AMREX_GPU_HOST_DEVICE auto RadSystem::DefinePhotoelectricHeating template <> AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto RadSystem::DefineOpacityExponentsAndLowerValues(amrex::GpuArray /*rad_boundaries*/, const double /*rho*/, - const double /*Tgas*/) -> amrex::GpuArray, 2> + const double /*Tgas*/) -> amrex::GpuArray, 2> { amrex::GpuArray, 2> exponents_and_values{}; for (int i = 0; i < nGroups_ + 1; ++i) { @@ -123,9 +123,9 @@ template <> void QuokkaSimulation::setInitialConditionsOnGrid(qu template <> AMREX_GPU_DEVICE AMREX_FORCE_INLINE void -AMRSimulation::setCustomBoundaryConditions(const amrex::IntVect &iv, amrex::Array4 const &consVar, int /*dcomp*/, - int /*numcomp*/, amrex::GeometryData const &geom, const amrex::Real /*time*/, - const amrex::BCRec * /*bcr*/, int /*bcomp*/, int /*orig_comp*/) +AMRSimulation::setCustomBoundaryConditions(const amrex::IntVect &iv, amrex::Array4 const &consVar, int /*dcomp*/, int /*numcomp*/, + amrex::GeometryData const &geom, const amrex::Real /*time*/, const amrex::BCRec * /*bcr*/, + int /*bcomp*/, int /*orig_comp*/) { #if (AMREX_SPACEDIM == 1) auto i = iv.toArray()[0];