Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 24, 2025
1 parent 23e859c commit 0fad800
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyro/compressible_fv4/_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ grav = 0.0 ; gravitational acceleration (in y-direction)

riemann = CGF

small_dens = -1.e200 ; minimum allowed density

[sponge]
do_sponge = 0 ; do we include a sponge source term
Expand Down
2 changes: 1 addition & 1 deletion pyro/compressible_fv4/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def substep(self, myd):
compute the advective source term for the given state
"""

self.clean_state(myd)
self.clean_state(myd.data)

myg = myd.grid

Expand Down
1 change: 1 addition & 0 deletions pyro/compressible_rk/_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ riemann = HLLC ; HLLC or CGF

well_balanced = 0 ; use a well-balanced scheme to keep the model in hydrostatic equilibrium

small_dens = -1.e200 ; minimum allowed density

[sponge]
do_sponge = 0 ; do we include a sponge source term
Expand Down
2 changes: 1 addition & 1 deletion pyro/compressible_rk/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def substep(self, myd):
conservative state defined as part of myd
"""

self.clean_state(myd)
self.clean_state(myd.data)

myg = myd.grid

Expand Down
1 change: 1 addition & 0 deletions pyro/compressible_sdc/_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ grav = 0.0 ; gravitational acceleration (in y-direction)

riemann = CGF

small_dens = -1.e200 ; minimum allowed density

[sponge]
do_sponge = 0 ; do we include a sponge source term
Expand Down

0 comments on commit 0fad800

Please sign in to comment.