Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion modules/awae/src/AWAE.f90
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,11 @@ subroutine LowResGridCalcOutput(n, u, p, y, m, errStat, errMsg)

end do!nr

if ( wsum_tmp > 0.0_ReKi ) y%V_plane(:,np,nt) = y%V_plane(:,np,nt)/wsum_tmp
if ( EqualRealNos( wsum_tmp, 0.0_ReKi ) ) then
y%V_plane(:,np,nt) = 0.0_ReKi
else
y%V_plane(:,np,nt) = y%V_plane(:,np,nt)/wsum_tmp
end if

end if

Expand Down