Skip to content

Commit

Permalink
Merge branch 'clean_up_avisc' into avisc_species
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jul 28, 2024
2 parents 8949302 + c7c7707 commit 8c57182
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/hydro/advection_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ Castro::apply_av_rad(const Box& bx,

const auto dx = geom.CellSizeArray();

Real diff_coeff = difmag;
amrex::Real diff_coeff = difmag;

int ngroups = Radiation::nGroups;

amrex::ParallelFor(bx,
[=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
Expand All @@ -423,7 +425,7 @@ Castro::apply_av_rad(const Box& bx,
return;
}

for (int n = 0; n < Radiation::nGroups; ++n) {
for (int n = 0; n < ngroups; ++n) {

Real div_var{};

Expand Down

0 comments on commit 8c57182

Please sign in to comment.