Skip to content

Commit

Permalink
merged changes from master
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 14, 2019
2 parents 7942185 + 12bee91 commit b323420
Showing 1 changed file with 85 additions and 2 deletions.
87 changes: 85 additions & 2 deletions src/flib/piolib_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ end function PIOc_InitDecomp_bc
end subroutine PIO_initdecomp_bc

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
Expand Down Expand Up @@ -564,8 +565,25 @@ subroutine initdecomp_2dof_bin_i4(iosystem,basepiotype,dims,lenblocks,compdof,io
call initdecomp_2dof_bin_i8(iosystem,basepiotype,dims,lenblocks,int(compdof,PIO_OFFSET_KIND),int(iodofr,PIO_OFFSET_KIND), &
int(iodofw,PIO_OFFSET_KIND),iodesc)


end subroutine initdecomp_2dof_bin_i4

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
!! @param iosystem a defined pio system descriptor, see PIO_types
!! @param basepiotype the type of variable(s) associated with this iodesc.
!! @copydoc PIO_kinds
!! @param dims an array of the global length of each dimesion of the variable(s)
!! @param lenblocks
!! @param compdof mapping of the storage order of the variable to its memory order
!! @param iodofr
!! @param iodofw
!! @param iodesc @copydoc iodesc_generate
!! @deprecated
!! @author Jim Edwards
!<
subroutine initdecomp_2dof_bin_i8(iosystem,basepiotype,dims,lenblocks,compdof,iodofr,iodofw,iodesc)
! use calcdisplace_mod, only : calcdisplace
type (iosystem_desc_t), intent(in) :: iosystem
Expand All @@ -580,6 +598,7 @@ subroutine initdecomp_2dof_bin_i8(iosystem,basepiotype,dims,lenblocks,compdof,io
end subroutine initdecomp_2dof_bin_i8

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
Expand Down Expand Up @@ -613,6 +632,24 @@ subroutine initdecomp_1dof_bin_i8(iosystem,basepiotype,dims,lenblocks,compdof,io
call initdecomp_1dof_nf_i8(iosystem,basepiotype,dims,lenblocks,compdof,iodofr,start, count, iodesc)
end subroutine initdecomp_1dof_bin_i8

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
!! @param iosystem a defined pio system descriptor, see PIO_types
!! @param basepiotype the type of variable(s) associated with this
!! iodesc. @copydoc PIO_kinds
!! @param dims an array of the global length of each dimesion of the
!! variable(s)
!! @param lenblocks
!! @param compdof mapping of the storage order of the variable to
!! its memory order
!! @param iodofr
!! @param iodesc @copydoc iodesc_generate
!! @deprecated
!! @author Jim Edwards
!<
subroutine initdecomp_1dof_bin_i4(iosystem,basepiotype,dims,lenblocks,compdof,iodofr,iodesc)
type (iosystem_desc_t), intent(in) :: iosystem
integer(i4), intent(in) :: basepiotype
Expand All @@ -632,6 +669,7 @@ subroutine initdecomp_1dof_bin_i4(iosystem,basepiotype,dims,lenblocks,compdof,io
end subroutine initdecomp_1dof_bin_i4

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
Expand Down Expand Up @@ -672,6 +710,28 @@ subroutine initdecomp_2dof_nf_i4(iosystem,basepiotype,dims,lenblocks,compdof,iod

end subroutine initdecomp_2dof_nf_i4

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
!! @param iosystem a defined pio system descriptor, see PIO_types
!! @param basepiotype the type of variable(s) associated with this
!! iodesc. @copydoc PIO_kinds
!! @param dims: an array of the global length of each dimesion of
!! the variable(s)
!! @param lenblocks
!! @param compdof mapping of the storage order of the variable to
!! its memory order
!! @param iodofr
!! @param iodofw
!! @param start used with count to give a block description of the
!! shape of the data
!! @param count
!! @param iodesc @copydoc iodesc_generate
!! @deprecated
!! @author Jim Edwards
!<
subroutine initdecomp_2dof_nf_i8(iosystem,basepiotype,dims,lenblocks,compdof,iodofr,iodofw,start, count, iodesc)
type (iosystem_desc_t), intent(in) :: iosystem
integer(i4), intent(in) :: basepiotype
Expand All @@ -695,6 +755,7 @@ subroutine initdecomp_2dof_nf_i8(iosystem,basepiotype,dims,lenblocks,compdof,iod
end subroutine initdecomp_2dof_nf_i8

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
Expand Down Expand Up @@ -727,6 +788,24 @@ subroutine initdecomp_1dof_nf_i4(iosystem,basepiotype,dims,lenblocks,compdof,iod

end subroutine initdecomp_1dof_nf_i4

!>
!! @public
!! @ingroup PIO_initdecomp
!! A deprecated interface to the PIO_initdecomp method.
!!
!! @param iosystem a defined PIO system descriptor, see pio_types
!! @param basepiotype The type of variable(s) associated with this iodesc.
!! @copydoc PIO_kinds
!! @param dims an array of the global length of each dimesion of the variable(s)
!! @param lenblocks
!! @param compdof mapping of the storage order of the variable to its memory order
!! @param iodof
!! @param start
!! @param count
!! @param iodesc @copydoc iodesc_generate
!! @deprecated
!! @author Jim Edwards
!<
subroutine initdecomp_1dof_nf_i8(iosystem,basepiotype,dims,lenblocks,compdof,iodof,start, count, iodesc)
type (iosystem_desc_t), intent(in) :: iosystem
integer(i4), intent(in) :: basepiotype
Expand All @@ -748,6 +827,7 @@ subroutine initdecomp_1dof_nf_i8(iosystem,basepiotype,dims,lenblocks,compdof,iod
end subroutine initdecomp_1dof_nf_i8

!>
!! @public
!! @ingroup PIO_initdecomp
!! Implements the degrees of freedom decomposition for
!! PIO_initdecomp(). This provides the ability to describe a
Expand Down Expand Up @@ -865,7 +945,10 @@ end function PIOc_InitDecomp

end subroutine PIO_initdecomp_internal

!> I8 version of PIO_initdecomp_dof_i4.
!>
!! @public
!! @ingroup PIO_initdecomp
!! I8 version of PIO_initdecomp_dof_i4.
!! @author Jim Edwards
subroutine PIO_initdecomp_dof_i8(iosystem,basepiotype,dims,compdof, iodesc, rearr, iostart, iocount)
type (iosystem_desc_t), intent(in) :: iosystem
Expand Down

0 comments on commit b323420

Please sign in to comment.