Skip to content

Commit

Permalink
Merge branch 'ndk/atm/init_qrl_idx' into next (PR #3324)
Browse files Browse the repository at this point in the history
Add one line (in clubb_intr.F90) that initializes array qrl_idx on the first step.

call pbuf_set_field(pbuf2d, qrl_idx, 0.0_r8)

Fixes #3142
Fixes #3061

[BFB]
  • Loading branch information
AaronDonahue committed Jan 30, 2020
2 parents 21c15ef + 00d800a commit 4cf0151
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/cam/src/physics/cam/clubb_intr.F90
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ subroutine clubb_ini_cam(pbuf2d, dp1_in)
call pbuf_set_field(pbuf2d, kvh_idx, 0.0_r8)
call pbuf_set_field(pbuf2d, fice_idx, 0.0_r8)
call pbuf_set_field(pbuf2d, radf_idx, 0.0_r8)
call pbuf_set_field(pbuf2d, qrl_idx, 0.0_r8)

call pbuf_set_field(pbuf2d, vmag_gust_idx, 1.0_r8)

Expand Down

0 comments on commit 4cf0151

Please sign in to comment.