get_requires_index_generic Function

private function get_requires_index_generic(self)

Returns the requires_index value. Allows access whilst keeping the variable private

Type Bound

abstract_config_type

Arguments

Type IntentOptional Attributes Name
class(abstract_config_type), intent(in) :: self

Return Value logical


Contents


Source Code

  function get_requires_index_generic(self)
    implicit none
    class(abstract_config_type), intent(in) :: self
    logical :: get_requires_index_generic
    if (self%is_initialised()) then
       get_requires_index_generic = self%requires_index
    else
       get_requires_index_generic = self%get_default_requires_index()
    endif
  end function get_requires_index_generic