Skip to content

Commit

Permalink
Fix typo when posting vsq
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Sep 24, 2020
1 parent 1849bcc commit e0db9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagnostics/MOM_diagnostics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ subroutine calculate_diagnostic_fields(u, v, h, uh, vh, tv, ADp, CDp, p_surf, &
do k=1,nz ; do J=Jsq,Jeq ; do i=is,ie
vsq(i,J,k) = v(i,J,k) * v(i,J,k)
enddo ; enddo ; enddo
call post_data(CS%id_usq, usq, CS%diag)
call post_data(CS%id_vsq, vsq, CS%diag)
endif

if (CS%id_uv > 0) then
Expand Down

0 comments on commit e0db9ab

Please sign in to comment.