Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Sep 12, 2024
1 parent 727f49f commit 0bd9707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/hydro/Castro_ctu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Castro::consup_hydro(const Box& bx,
// Add gradp term to momentum equation -- only for axisymmetric
// coords (and only for the radial flux).

U_new(i,j,k,UMX) += - dt * (qx(i+1,j,k,GDPRES) - qx(i,j,k,GDPRES)) / geomdata.CellSize(1);
U_new(i,j,k,UMX) += - dt * (qx(i+1,j,k,GDPRES) - qx(i,j,k,GDPRES)) / geomdata.CellSize(0);

#if AMREX_SPACEDIM >= 2
} else if (n == UMY && !mom_flux_has_p(1, 1, geomdata.Coord())) {
Expand Down

0 comments on commit 0bd9707

Please sign in to comment.