Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 5, 2024
1 parent 4c7fafe commit 0790f09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/hydro/Castro_hydro.H
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
///
void shock(const amrex::Box& bx,
amrex::Array4<amrex::Real const> const& q_arr,
amrex::Array4<amrex::Real const> const& q_src_arr,
amrex::Array4<amrex::Real> const& shk);

///
Expand Down
2 changes: 1 addition & 1 deletion Source/hydro/Castro_mol_hydro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Castro::construct_mol_hydro_source(Real time, Real dt, MultiFab& A_update)


if (hybrid_riemann == 1 || compute_shock) {
shock(obx, q_arr, shk_arr);
shock(obx, q_arr, src_q_arr, shk_arr);
}
else {
amrex::ParallelFor(obx,
Expand Down
1 change: 1 addition & 0 deletions Source/hydro/advection_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Castro::ctoprim(const Box& bx,
void
Castro::shock(const Box& bx,
Array4<Real const> const& q_arr,
Array4<Real const> const& q_src_arr,
Array4<Real> const& shk) {

// This is a basic multi-dimensional shock detection algorithm.
Expand Down

0 comments on commit 0790f09

Please sign in to comment.