Skip to content

Commit

Permalink
Move replicatedDimCount argument to after dimCount
Browse files Browse the repository at this point in the history
Per Gerhard's suggestion
  • Loading branch information
billsacks committed Oct 10, 2023
1 parent 4c64b73 commit 20335bd
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/Infrastructure/Array/interface/ESMF_ArrayGet.cppF90
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,13 @@ contains

! !INTERFACE:
! Private name; call using ESMF_ArrayGet()
subroutine ESMF_ArrayGetDefault(array, keywordEnforcer, arrayspec, typekind, &
rank, replicatedDimCount, localarrayList, indexflag, distgridToArrayMap, &
subroutine ESMF_ArrayGetDefault(array, keywordEnforcer, arrayspec, typekind, &
rank, localarrayList, indexflag, distgridToArrayMap, &
distgridToPackedArrayMap, arrayToDistGridMap, undistLBound, &
undistUBound, exclusiveLBound, exclusiveUBound, computationalLBound, &
computationalUBound, totalLBound, totalUBound, computationalLWidth, &
computationalUWidth, totalLWidth, totalUWidth, distgrid, dimCount, &
computationalUWidth, totalLWidth, totalUWidth, distgrid, &
dimCount, replicatedDimCount, &
tileCount, minIndexPTile, maxIndexPTile, deToTileMap, indexCountPDe, &
delayout, deCount, localDeCount, ssiLocalDeCount, localDeToDeMap, &
localDeList, & ! DEPRECATED ARGUMENT
Expand All @@ -145,7 +146,6 @@ type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
type(ESMF_ArraySpec), intent(out), optional :: arrayspec
type(ESMF_TypeKind_Flag), intent(out), optional :: typekind
integer, intent(out), optional :: rank
integer, intent(out), optional :: replicatedDimCount
type(ESMF_LocalArray), target, intent(out), optional :: localarrayList(:)
type(ESMF_Index_Flag), intent(out), optional :: indexflag
integer, target, intent(out), optional :: distgridToArrayMap(:)
Expand All @@ -165,6 +165,7 @@ type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
integer, target, intent(out), optional :: totalUWidth(:,:)
type(ESMF_DistGrid), intent(out), optional :: distgrid
integer, intent(out), optional :: dimCount
integer, intent(out), optional :: replicatedDimCount
integer, intent(out), optional :: tileCount
integer, intent(out), optional :: minIndexPTile(:,:)
integer, intent(out), optional :: maxIndexPTile(:,:)
Expand Down Expand Up @@ -217,10 +218,6 @@ type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
! TypeKind of the Array object.
! \item[{[rank]}]
! Rank of the Array object.
! \item[{[replicatedDimCount]}]
! Number of replicated dimensions in the Array. (See
! Section~\ref{sec:array:usage:replicated_dims} for an explanation of replicated
! dimensions.)
! \item[{[localarrayList]}]
! Upon return this holds a list of the associated {\tt ESMC\_LocalArray}
! objects. {\tt localarrayList} must be allocated to be of size
Expand Down Expand Up @@ -319,6 +316,10 @@ type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
! Upon return this holds the associated {\tt ESMF\_DistGrid} object.
! \item[{[dimCount]}]
! Number of dimensions (rank) of {\tt distgrid}.
! \item[{[replicatedDimCount]}]
! Number of replicated dimensions in the Array. (See
! Section~\ref{sec:array:usage:replicated_dims} for an explanation of replicated
! dimensions.)
! \item[{[tileCount]}]
! Number of tiles in {\tt distgrid}.
! \item[{[minIndexPTile]}]
Expand Down

0 comments on commit 20335bd

Please sign in to comment.