.true. iff &ocean_bc_nml tags BOTH west and east periodic —
the rule ocean_bc_state_init applies, for callers that run before
configure_ocean_bc (the grid metrics).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(config_t), | intent(in) | :: | cfg |
pure function tags_periodic_x(cfg) result(per_x) !! `.true.` iff `&ocean_bc_nml` tags BOTH west and east `periodic` — !! the rule `ocean_bc_state_init` applies, for callers that run before !! `configure_ocean_bc` (the grid metrics). type(config_t), intent(in) :: cfg logical :: per_x per_x = ocean_bc_type_from_string(cfg%ocean%bc%west) == OBC_PERIODIC .and. & ocean_bc_type_from_string(cfg%ocean%bc%east) == OBC_PERIODIC end function tags_periodic_x