H.1.4 Initialized_Monomial Procedure

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

  function Initialized_Monomial (Monomial) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    type(Monomial_type), intent(in) :: Monomial  ! Monomial to be checked.

    ! Output variable.

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

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

    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = Monomial%Initialized == initialized_flag

    ! Verify guarantees - none.

    return
  end function Initialized_Monomial



Michael L. Hall