Skip to content

Commit

Permalink
update artificial viscosity in compressible_rk
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Aug 28, 2024
1 parent 9f53d16 commit ae846c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyro/compressible_rk/fluxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def fluxes(my_data, rp, ivars, solid, tc):
cvisc = rp.get_param("compressible.cvisc")

_ax, _ay = interface.artificial_viscosity(myg.ng, myg.dx, myg.dy,
cvisc, q.v(n=ivars.iu, buf=myg.ng), q.v(n=ivars.iv, buf=myg.ng))
myg.xmin, myg.ymin, myg.coord_type,
cvisc, q.v(n=ivars.iu, buf=myg.ng), q.v(n=ivars.iv, buf=myg.ng))

avisco_x = ai.ArrayIndexer(d=_ax, grid=myg)
avisco_y = ai.ArrayIndexer(d=_ay, grid=myg)
Expand Down

0 comments on commit ae846c6

Please sign in to comment.