Skip to content

Commit

Permalink
fix radiation
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Dec 11, 2023
1 parent 17d75dd commit c3b4087
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/hydro/Castro_ctu_hydro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ Castro::construct_ctu_hydro_source(Real time, Real dt)
}

#ifdef RADIATION
FArrayBox rad_flux(The_Async_Arena())[AMREX_SPACEDIM];
Vector<FArrayBox> rad_flux;
for (int n = 0; n < AMREX_SPACEDIM; ++n) {
radflux.push_back(FArrayBox(The_Async_Arena()));
}
#endif
#if AMREX_SPACEDIM <= 2
FArrayBox pradial(The_Async_Arena());
Expand Down

0 comments on commit c3b4087

Please sign in to comment.