D.6.4 Initialized_Distributed_Vector Procedure

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

  function Initialized_Distributed_Vector (DV) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    ! Distributed_Vector to be checked.
    type(Distributed_Vector_type), intent(in) :: DV

    ! Output variable.

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


    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = DV%Initialized == initialized_flag

    ! Verify guarantees - none.

  end function Initialized_Distributed_Vector

Michael L. Hall