.true. when at least one tag names a file, i.e. enabling the
group would actually do something.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ocean_dataovr_config_t), | intent(in) | :: | cfg |
pure function dataovr_any_tag_set(cfg) result(any_set) !! `.true.` when at least one tag names a file, i.e. enabling the !! group would actually do something. type(ocean_dataovr_config_t), intent(in) :: cfg logical :: any_set any_set = len_trim(cfg%tau_x%file) > 0 .or. len_trim(cfg%tau_y%file) > 0 .or. & len_trim(cfg%heat%file) > 0 .or. len_trim(cfg%evap%file) > 0 .or. & len_trim(cfg%lprec%file) > 0 .or. len_trim(cfg%salt%file) > 0 end function dataovr_any_tag_set