Returns true if the passed pitch angle grid point is considered passing.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | il |
elemental logical function il_is_passing(il) result(is_passing)
implicit none
integer, intent(in) :: il
is_passing = il <= ng2
! If we want to improve the consistency of the passing wfb
! treatment we can replace the above with
! is_passing = il <= ng2 + 1
! To be explicit this might look like
! if (passing_wfb) then
! is_passing = il <= ng2 + 1
! else
! is_passing = il <= ng2
! end if
end function il_is_passing