From 0bd9707cfd7101dea0023fc63e91c5032e16185c Mon Sep 17 00:00:00 2001 From: Zhi Date: Thu, 12 Sep 2024 09:41:11 -0400 Subject: [PATCH] fix typo --- Source/hydro/Castro_ctu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/hydro/Castro_ctu.cpp b/Source/hydro/Castro_ctu.cpp index c46860a3ea..6c222cdddf 100644 --- a/Source/hydro/Castro_ctu.cpp +++ b/Source/hydro/Castro_ctu.cpp @@ -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())) {