G.1.5 Initialized_Mathematic_Vector Procedure

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

  function Initialized_Mathematic_Vector (MV) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    ! Mathematic_Vector to be checked.
    type(Mathematic_Vector_type), intent(in) :: MV  

    ! Output variable.

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


    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = MV%Initialized == initialized_flag

    ! Verify guarantees - none.

  end function Initialized_Mathematic_Vector

Michael L. Hall