57 TYPE(t_region
),
POINTER :: regions(:)
62 INTEGER :: ir, iedge,
icorner, ijk, l
65 INTEGER :: ilev, ncv, iregsrc,
icell, ibuff, ndim, dest,
tag
67 REAL(RFREAL),
POINTER :: rcv(:,:)
70 TYPE(t_level
),
POINTER :: level
71 TYPE(t_dcelltransf
),
POINTER :: sndradieccell
75 global => regions(ireg)%global
78 'RADI_floFlimSendCornEdgeCells.F90' )
80 ilev = regions(ireg)%currLevel
81 ncv = regions(ireg)%radiInput%nCv
82 rcv => regions(ireg)%levels(ilev)%radi%cv
86 DO ir=1,global%nRegions
87 IF (regions(ir)%procid /= global%myProcid)
THEN
88 IF (regions(ireg)%levels(ilev)%sndRadiEcCells(ir)%nCells > 0)
THEN
90 sndradieccell => regions(ireg)%levels(ilev)%sndRadiEcCells(ir)
91 level => regions(ir)%levels(ilev)
92 ndim = sndradieccell%nCells
96 IF (level%edgeCells(iedge)%interact)
THEN
97 DO ijk=1,ubound(level%edgeCells(iedge)%cells,1)
98 iregsrc = level%edgeCells(iedge)%cells(ijk)%srcRegion
99 icell = level%edgeCells(iedge)%cells(ijk)%srcCell
100 IF (iregsrc == ireg)
THEN
103 sndradieccell%buff(ibuff+(l-1)*ndim) = rcv(l,
icell)
128 dest = regions(ir)%procid
129 tag = regions(ir)%localNumber + radi_tag_shift
130 CALL mpi_isend( sndradieccell%buff,ncv*ndim,mpi_rfreal, &
131 dest,
tag,global%mpiComm, &
132 global%requests(sndradieccell%iRequest),global%mpierr )
133 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
subroutine radi_floflimsendcornedgecells(regions, iReg)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE icorner
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE icell
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)