Skip to content

Commit

Permalink
blk1m: dot_th depending on rr_to_rv, not full dot_rv
Browse files Browse the repository at this point in the history
  • Loading branch information
pdziekan committed Jan 7, 2025
1 parent e3e0dd1 commit 63579bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libcloudph++/blk_1m/rhs_cellwise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ namespace libcloudphxx

dot_rv += rr_to_rv;
dot_rr -= rr_to_rv;
dot_th -= const_cp::l_v(T) / (moist_air::c_pd<real_t>() * theta_std::exner(p)) * dot_rv / si::kelvins;
dot_th -= const_cp::l_v(T) / (moist_air::c_pd<real_t>() * theta_std::exner(p)) * rr_to_rv / si::kelvins;
}
}

Expand Down

0 comments on commit 63579bb

Please sign in to comment.