.true. unless time_mode='cyclic' was requested without a
positive cycle_period. Checked only for the cyclic mode;
cycle_period is ignored by linear/static.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ocean_dataovr_config_t), | intent(in) | :: | cfg |
pure function dataovr_time_is_valid(cfg) result(ok) !! `.true.` unless `time_mode='cyclic'` was requested without a !! positive `cycle_period`. Checked only for the cyclic mode; !! `cycle_period` is ignored by `linear`/`static`. type(ocean_dataovr_config_t), intent(in) :: cfg logical :: ok ok = .true. if (trim(cfg%time_mode) == "cyclic") ok = (cfg%cycle_period > 0.0_wp) end function dataovr_time_is_valid