D.6.10 Get_Version_Distributed_Vector Procedure

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

  function Get_Version_Distributed_Vector (DV) result(Version)

    ! Input variable.

    type(Distributed_Vector_type), intent(in) :: DV  ! Variable to be queried.

    ! Output variable.

    type(integer) :: Version                         ! Version number.


    ! Verify requirements.

    VERIFY(Valid_State(DV),5)      ! DV is valid.

    ! Get the value.

    Version = DV%Version

    ! Verify guarantees - none.

  end function Get_Version_Distributed_Vector

Michael L. Hall