Skip to content

Commit

Permalink
Update parasol.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrobodas authored Oct 25, 2023
1 parent a784086 commit fc075ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simulator/parasol/parasol.F90
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ subroutine parasol_column(npoints,nrefl,ncol,land,refl,parasolrefl)
parasolrefl(:,k) = parasolrefl(:,k) / float(ncol)
! if land=1 -> parasolrefl=R_UNDEF
! if land=0 -> parasolrefl=parasolrefl
parasolrefl(:,k) = parasolrefl(:,k) * MAX(1._wp-land(:),0.0) &
+ (1._wp - MAX(1._wp-land(:),0.0))*R_UNDEF
parasolrefl(:,k) = parasolrefl(:,k) * MAX(1._wp-land(:),0.0_wp) &
+ (1._wp - MAX(1._wp-land(:),0.0_wp))*R_UNDEF
enddo
end subroutine parasol_column

Expand Down

0 comments on commit fc075ce

Please sign in to comment.