D.8.4 Initialized_Collected_Array Procedure

The main documentation of the Initialized_Collected_Array Procedure contains additional explanation of this code listing.

  function Initialized_Collected_Array (CA) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    ! Collected_Array to be checked.
    type(Collected_Array_type), intent(in) :: CA

    ! Output variable.

    type(logical) :: Initialized          ! Initialized condition boolean.


    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = CA%Initialized == initialized_flag

    ! Verify guarantees - none.

  end function Initialized_Collected_Array

Michael L. Hall