64 TYPE(t_region
) :: region, regionsrc
68 INTEGER :: idum,
i,
j,
k, l, ijkbuff
72 INTEGER ::
status(mpi_status_size)
74 INTEGER :: lb,
ibeg,
iend,
jbeg,
jend,
kbeg, kend, icoff, ijcoff, ijkd, &
77 REAL(RFREAL),
POINTER :: tcv(:,:)
83 global => region%global
86 'TURB_floRansRecvDummyVals.F90' )
90 IF (regionsrc%active == off)
THEN
91 CALL
errorstop( global,err_srcregion_off,__line__ )
96 ilev = region%currLevel
102 tcv => region%levels(ilev)%turb%cv
103 ncv = region%turbInput%nCv
107 ndim = n1*n2*region%nDumCells
113 tag = region%localNumber + mpi_patchoff*patchsrc%srcPatch + &
115 IF(
tag .GT. global%mpiTagMax)
tag = mod(
tag,global%mpiTagMax)
116 CALL mpi_recv(
patch%turb%recvBuff,ncv*ndim,mpi_rfreal, &
118 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
126 DO idum=1,region%nDumCells
130 IF (lb==1 .OR. lb==2)
THEN
131 IF (lb == 1)
i =
ibeg - idum
132 IF (lb == 2)
i =
iend + idum
135 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
136 ijkbuff = ijkbuff + 1
138 tcv(l,ijkd) =
patch%turb%recvBuff(ijkbuff+(l-1)*ndim)
145 ELSE IF (lb==3 .OR. lb==4)
THEN
146 IF (lb == 3)
j =
jbeg - idum
147 IF (lb == 4)
j =
jend + idum
150 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
151 ijkbuff = ijkbuff + 1
153 tcv(l,ijkd) =
patch%turb%recvBuff(ijkbuff+(l-1)*ndim)
160 ELSE IF (lb==5 .OR. lb==6)
THEN
161 IF (lb == 5)
k =
kbeg - idum
162 IF (lb == 6)
k = kend + idum
165 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
166 ijkbuff = ijkbuff + 1
168 tcv(l,ijkd) =
patch%turb%recvBuff(ijkbuff+(l-1)*ndim)
**********************************************************************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 ibeg
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine rflo_getpatchindices(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
**********************************************************************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 knode iend
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
**********************************************************************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 knode jend
CGAL::Point_2< R > source() const
subroutine errorstop(global, errorCode, errorLine, addMessage)
**********************************************************************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 knode jbeg
**********************************************************************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 knode kbeg
subroutine deregisterfunction(global)
subroutine turb_floransrecvdummyvals(region, regionSrc, patch, patchSrc)