Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Oct 18, 2024
1 parent b8ab28b commit 59a1921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/compressible/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def evolve(self):

if myg.coord_type == 1:
xmom.v()[:, :] += 0.5*self.dt * \
((dens.v() + U_old[:, :, self.ivars.ixmom])*grav +
((dens.v() + U_old[:, :, self.ivars.idens])*grav +
(ymom.v()**2 / dens.v() +
U_old[:, :, self.ivars.iymom]**2 / U_old[:, :, self.ivars.idens]) / myg.x2d.v()) - \
self.dt * (qx.ip(1, n=self.ivars.ip) - qx.v(n=self.ivars.ip)) / myg.Lx.v()
Expand Down

0 comments on commit 59a1921

Please sign in to comment.