D.5.4 Initialized_Assembled_Vector Procedure

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

  function Initialized_Assembled_Vector (AV) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    ! Assembled_Vector to be checked.
    type(Assembled_Vector_type), intent(in) :: AV

    ! Output variable.

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

    !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = AV%Initialized == initialized_flag

    ! Verify guarantees - none.

    return
  end function Initialized_Assembled_Vector



Michael L. Hall