Skip to content

Commit 5a5f4dc

Browse files
committed
fix tendency diagnostics in physics/GWD/unified_ugwp.F90
1 parent 5cb0f01 commit 5a5f4dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

physics/GWD/unified_ugwp.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,17 +638,17 @@ subroutine unified_ugwp_run(me, master, im, levs, ak,bk, ntrac, dtp, kdt,
638638
if(ldiag3d .and. lssav .and. .not. flag_for_gwd_generic_tend) then
639639
idtend = dtidx(index_of_x_wind,index_of_process_nonorographic_gwd)
640640
if(idtend>=1) then
641-
dtend(:,:,idtend) = dtend(:,:,idtend) + Pdudt*dtp
641+
dtend(:,:,idtend) = dtend(:,:,idtend) + dudt_ngw(:,:)*dtp
642642
endif
643643

644644
idtend = dtidx(index_of_y_wind,index_of_process_nonorographic_gwd)
645645
if(idtend>=1) then
646-
dtend(:,:,idtend) = dtend(:,:,idtend) + Pdvdt*dtp
646+
dtend(:,:,idtend) = dtend(:,:,idtend) + dvdt_ngw(:,:)*dtp
647647
endif
648648

649649
idtend = dtidx(index_of_temperature,index_of_process_nonorographic_gwd)
650650
if(idtend>=1) then
651-
dtend(:,:,idtend) = dtend(:,:,idtend) + Pdtdt*dtp
651+
dtend(:,:,idtend) = dtend(:,:,idtend) + dtdt_ngw(:,:)*dtp
652652
endif
653653
endif
654654

0 commit comments

Comments
 (0)