Returns .true. for edge types that need baroclinic velocity treatment.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | bc_type |
pure logical function is_open_ish(bc_type) result(res) !! Returns .true. for edge types that need baroclinic velocity treatment. integer, intent(in) :: bc_type res = (bc_type == OBC_OPEN .or. bc_type == OBC_TIDAL .or. & bc_type == OBC_CHAPMAN .or. bc_type == OBC_NESTED .or. & bc_type == OBC_CLAMPED) end function is_open_ish