init_order Subroutine

public subroutine init_order(order)

Arguments

Type IntentOptional AttributesName
integer(kind=I4), intent(out), dimension(:):: order

Contents

Source Code


Source Code

   subroutine init_order(order)
   implicit none
   integer(kind=I4), dimension(:), intent(out) :: order
      integer(kind=I4) :: i, l
      l = ubound(order,1)
      do i = 1, l
         order(i) = i
      enddo
   return
   endsubroutine init_order