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 :: tcv(:,:)
70 TYPE(t_level
),
POINTER :: level
71 TYPE(t_dcelltransf
),
POINTER :: sndturbeccell
75 global => regions(ireg)%global
78 'TURB_floRansSendCornEdgeCells.F90' )
80 ilev = regions(ireg)%currLevel
81 ncv = regions(ireg)%turbInput%nCv
82 tcv => regions(ireg)%levels(ilev)%turb%cv
86 DO ir=1,global%nRegions
87 IF (regions(ir)%procid /= global%myProcid)
THEN
88 IF (regions(ireg)%levels(ilev)%sndTurbEcCells(ir)%nCells > 0)
THEN
90 sndturbeccell => regions(ireg)%levels(ilev)%sndTurbEcCells(ir)
91 level => regions(ir)%levels(ilev)
92 ndim = sndturbeccell%nCells
96 IF (level%edgeCells(iedge)%interact.eqv..true.)
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 sndturbeccell%buff(ibuff+(l-1)*ndim) = tcv(l,
icell)
128 dest = regions(ir)%procid
129 tag = regions(ir)%localNumber + turb_tag_shift
130 IF(
tag .GT. global%mpiTagMax)
tag = mod(
tag,global%mpiTagMax)
131 CALL mpi_isend( sndturbeccell%buff,ncv*ndim,mpi_rfreal, &
132 dest,
tag,global%mpiComm, &
133 global%requests(sndturbeccell%iRequest),global%mpierr )
134 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
**********************************************************************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)
subroutine turb_floranssendcornedgecells(regions, iReg)