Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed Sep 25, 2024
2 parents 28c7118 + 1ff45f0 commit d1e80ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/radiation/source_terms_multi_group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ AMREX_GPU_DEVICE auto RadSystem<problem_t>::SolveMatterRadiationEnergyExchange(

// Update radiation flux and gas momentum. Returns FluxUpdateResult struct. The function also updates energy.Egas and energy.work.
template <typename problem_t>
AMREX_GPU_DEVICE auto RadSystem<problem_t>::UpdateFlux(int const i, int const j, int const k, arrayconst_t &consPrev, NewtonIterationResult<problem_t> &energy, double const dt,
double const gas_update_factor, double const Ekin0) -> FluxUpdateResult<problem_t>
AMREX_GPU_DEVICE auto RadSystem<problem_t>::UpdateFlux(int const i, int const j, int const k, arrayconst_t &consPrev, NewtonIterationResult<problem_t> &energy,
double const dt, double const gas_update_factor, double const Ekin0) -> FluxUpdateResult<problem_t>
{
amrex::GpuArray<amrex::Real, 3> Frad_t0{};
amrex::GpuArray<amrex::Real, 3> dMomentum{0., 0., 0.};
Expand Down

0 comments on commit d1e80ca

Please sign in to comment.