cable_timing_frequency_matches Function

public function cable_timing_frequency_matches(dels, ktau, frequency) result(match)

Determines whether the current time step is the end of a period of the given frequency.

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: dels

Model time step in seconds

integer, intent(in) :: ktau

Current time step index

character(len=*), intent(in) :: frequency

One of cable_timing_frequencies: timestep, 3hrly, daily, monthly or yearly.

Return Value logical