Skip to content

Commit

Permalink
Merge pull request #140 from E3SM-Project/mw/fix
Browse files Browse the repository at this point in the history
[PAM-C] Fix compressible coupler -> dynamics conversion
  • Loading branch information
mwarusz authored Nov 15, 2023
2 parents a7cde62 + 8137a3e commit 22e493b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamics/spam/src/hamiltonians/variableset.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void convert_coupler_to_dynamics_densities(
if (T::compressible) {

real dens_dry = dm_dens_dry(k, j, i, n);
real dens = dens_dry + dens_vap;
dens = dens_dry + dens_vap;

varset.set_density(
dens * dual_geometry.get_area_n1entity(k + dks, j + djs,
Expand Down

0 comments on commit 22e493b

Please sign in to comment.