I.1.6 Initialized_Multi_Mesh Procedure

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

  function Initialized_Multi_Mesh (Mesh) result(Initialized)

    ! Use associations.

    use Caesar_Flags_Module, only: initialized_flag

    ! Input variable.

    ! Multi_Mesh to be checked.
    type(Multi_Mesh_type), intent(in) :: Mesh

    ! Output variable.

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

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

    ! Verify requirements - none.

    ! Set initialized boolean.

    Initialized = Mesh%Initialized == initialized_flag

    ! Verify guarantees - none.

    return
  end function Initialized_Multi_Mesh



Michael L. Hall