68 TYPE(t_region
),
POINTER :: regions(:)
70 INTEGER,
INTENT(IN) :: ireg
76 CHARACTER(CHRLEN) :: rcsidentstring
79 INTEGER :: statusplag(mpi_status_size)
81 INTEGER :: ilev,ir,irequestplag
86 TYPE(t_level
),
POINTER :: plevel
87 TYPE(t_plag),
POINTER :: pplag
88 TYPE(t_region
),
POINTER :: pregion
94 rcsidentstring =
'$RCSfile: PLAG_CECellsClearRequestsSize.F90,v $ $Revision: 1.3 $'
96 global => regions(1)%global
99 'PLAG_CECellsClearRequestsSize.F90' )
107 ilev = regions(ireg)%currLevel
113 pregion => regions(ireg)
114 plevel => regions(ireg)%levels(ilev)
121 DO ir=1,global%nRegions
122 IF (regions(ireg)%levels(ilev)%sendEcCells(ir)%nCells > 0)
THEN
123 irequestplag = plevel%sendEcCells(ir)%iRequestPlag
124 CALL mpi_wait( pplag%requestsCECells(irequestplag),statusplag, &
126 IF (global%mpierr /= err_none) &
127 CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
subroutine plag_cecellsclearrequestssize(regions, iReg)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)