Edge types that receive the open zero-gradient ghost fill (velocity here, η in the barotropic substep — kept identical on purpose). OPEN / TIDAL / CHAPMAN / CLAMPED; NOT NESTED (barotropic-wall path).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | bc_type |
pure logical function open_ghost_fill_edge(bc_type) result(res) !! Edge types that receive the open zero-gradient ghost fill (velocity !! here, η in the barotropic substep — kept identical on purpose). !! OPEN / TIDAL / CHAPMAN / CLAMPED; NOT NESTED (barotropic-wall path). integer, intent(in) :: bc_type res = (bc_type == OBC_OPEN .or. bc_type == OBC_TIDAL .or. & bc_type == OBC_CHAPMAN .or. bc_type == OBC_CLAMPED) end function open_ghost_fill_edge