Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Nov 14, 2024
1 parent a483d44 commit ad7190e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Source/hydro/Castro_ctu_hydro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,10 @@ Castro::construct_ctu_hydro_source(Real time, Real dt) // NOLINT(readability-co
#if AMREX_SPACEDIM == 3
qzm_arr, qzp_arr,
#endif
#if (AMREX_SPACEDIM < 3)
#if AMREX_SPACEDIM < 3
dLogAreaX_arr,
#endif
#if AMREX_SPACEDIM == 2
dLogAreaY_arr,
#endif
dt);
Expand All @@ -364,6 +366,8 @@ Castro::construct_ctu_hydro_source(Real time, Real dt) // NOLINT(readability-co
#endif
#if AMREX_SPACEDIM < 3
dLogAreaX_arr,
#endif
#if AMREX_SPACEDIM == 2
dLogAreaY_arr,
#endif
dt);
Expand All @@ -380,8 +384,10 @@ Castro::construct_ctu_hydro_source(Real time, Real dt) // NOLINT(readability-co
qzm_arr, qzp_arr,
#endif
#if AMREX_SPACEDIM < 3
dLogAreaX_arr,
dLogAreaY_arr,
dLogAreaX_arr,
#endif
#if AMREX_SPACEDIM == 2
dLogAreaY_arr,
#endif
dt);
#endif
Expand Down

0 comments on commit ad7190e

Please sign in to comment.