time_info_type Derived Type

type, public :: time_info_type


Constructor

public interface time_info_type

  • private function constructor(my_years, year_position)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: my_years(:)
    type(year_position_type), intent(in) :: year_position

    Return Value type(time_info_type)


Type-Bound Procedures

procedure, public :: set_current_year

  • private subroutine set_current_year(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(inout) :: this

procedure, public :: get_time_index_lower

  • private pure function get_time_index_lower(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value integer

procedure, public :: get_time_index_upper

  • private pure function get_time_index_upper(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value integer

procedure, public :: get_yearfrac

  • private function get_yearfrac(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value real(kind=r8)

procedure, public :: get_year

  • private function get_year(this, nt)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this
    integer, intent(in) :: nt

    Return Value integer

procedure, public :: is_within_bounds

  • private pure function is_within_bounds(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value logical

procedure, public :: is_before_time_series

  • private pure function is_before_time_series(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value logical

procedure, public :: is_after_time_series

  • private pure function is_after_time_series(this)

    Arguments

    Type IntentOptional Attributes Name
    class(time_info_type), intent(in) :: this

    Return Value logical