65 TYPE(t_region
),
INTENT(INOUT) :: region
66 TYPE(t_region
),
INTENT(IN) :: regionsrc
68 TYPE(t_patch),
INTENT(IN) :: patchsrc
71 INTEGER :: icv, idum,
i,
j,
k, ijkbuff
74 CHARACTER(CHRLEN) :: rcsidentstring
77 INTEGER ::
status(mpi_status_size)
79 INTEGER :: lb,
ibeg,
iend,
jbeg,
jend,
kbeg, kend, icoff, ijcoff, ijkd, &
80 n1, n2, ncv, ndim, ndimrecvbuff,
source, tagpeul, ilev
82 REAL(RFREAL),
POINTER,
DIMENSION(:) :: precvbuffeul
83 REAL(RFREAL),
POINTER,
DIMENSION(:,:) :: pcv
89 rcsidentstring =
'$RCSfile: PEUL_ReceiveDummyVals.F90,v $ $Revision: 1.3 $'
91 global => region%global
94 'PEUL_ReceiveDummyVals.F90' )
98 IF (regionsrc%active == off)
THEN
99 CALL
errorstop( global,err_srcregion_off,__line__ )
104 ilev = region%currLevel
110 pcv => region%levels(ilev)%peul%cv
111 precvbuffeul =>
patch%bufferPeul%recvBuff
115 ndim = n1*n2*region%nDumCells
117 ncv = region%levels(ilev)%peul%nCv
119 IF (ncv /= region%peulInput%nPtypes) &
120 CALL
errorstop( region%global,err_peul_npmismatch,__line__ )
122 ndimrecvbuff = ncv*ndim
128 tagpeul = region%localNumber + mpi_patchoff*patchsrc%srcPatch &
130 CALL mpi_recv( precvbuffeul,ndimrecvbuff,mpi_rfreal, &
132 IF (global%mpierr /= err_none) &
133 CALL
errorstop( global,err_mpi_trouble,__line__ )
142 DO idum=1,region%nDumCells
146 IF (lb==1 .OR. lb==2)
THEN
157 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
158 ijkbuff = ijkbuff + 1
159 pcv(icv,ijkd) = precvbuffeul(ijkbuff)
165 ELSE IF (lb==3 .OR. lb==4)
THEN
176 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
177 ijkbuff = ijkbuff + 1
178 pcv(icv,ijkd) = precvbuffeul(ijkbuff)
184 ELSE IF (lb==5 .OR. lb==6)
THEN
195 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
196 ijkbuff = ijkbuff + 1
197 pcv(icv,ijkd) = precvbuffeul(ijkbuff)
**********************************************************************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 peul_receivedummyvals(region, regionSrc, patch, patchSrc)
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)