64 TYPE(t_region
) :: region, regionsrc
68 INTEGER :: idum,
i,
j,
k, ijkbuff
72 INTEGER ::
status(mpi_status_size)
74 INTEGER :: lb,
ibeg,
iend,
jbeg,
jend,
kbeg, kend, icoff, ijcoff, ijkd, &
77 REAL(RFREAL),
POINTER :: cv(:,:)
83 global => region%global
86 'RFLO_ReceiveDummyVals.F90' )
90 IF (regionsrc%active == off)
THEN
91 CALL
errorstop( global,err_srcregion_off,__line__ )
96 ilev = region%currLevel
102 gasmodel = region%mixtInput%gasModel
104 cv => region%levels(ilev)%mixt%cv
108 ndim = n1*n2*region%nDumCells
114 tag = region%localNumber + mpi_patchoff*patchsrc%srcPatch
115 CALL mpi_recv(
patch%mixt%recvBuff,cv_mixt_neqs*ndim,mpi_rfreal, &
117 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
125 DO idum=1,region%nDumCells
129 IF (lb==1 .OR. lb==2)
THEN
130 IF (lb == 1)
i =
ibeg - idum
131 IF (lb == 2)
i =
iend + idum
134 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
135 ijkbuff = ijkbuff + 1
136 cv(cv_mixt_dens,ijkd) =
patch%mixt%recvBuff(ijkbuff )
137 cv(cv_mixt_xmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+ ndim)
138 cv(cv_mixt_ymom,ijkd) =
patch%mixt%recvBuff(ijkbuff+2*ndim)
139 cv(cv_mixt_zmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+3*ndim)
140 cv(cv_mixt_ener,ijkd) =
patch%mixt%recvBuff(ijkbuff+4*ndim)
141 IF (gasmodel == gas_model_tcperf)
THEN
151 ELSE IF (lb==3 .OR. lb==4)
THEN
152 IF (lb == 3)
j =
jbeg - idum
153 IF (lb == 4)
j =
jend + idum
156 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
157 ijkbuff = ijkbuff + 1
158 cv(cv_mixt_dens,ijkd) =
patch%mixt%recvBuff(ijkbuff )
159 cv(cv_mixt_xmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+ ndim)
160 cv(cv_mixt_ymom,ijkd) =
patch%mixt%recvBuff(ijkbuff+2*ndim)
161 cv(cv_mixt_zmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+3*ndim)
162 cv(cv_mixt_ener,ijkd) =
patch%mixt%recvBuff(ijkbuff+4*ndim)
163 IF (gasmodel == gas_model_tcperf)
THEN
173 ELSE IF (lb==5 .OR. lb==6)
THEN
174 IF (lb == 5)
k =
kbeg - idum
175 IF (lb == 6)
k = kend + idum
178 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
179 ijkbuff = ijkbuff + 1
180 cv(cv_mixt_dens,ijkd) =
patch%mixt%recvBuff(ijkbuff )
181 cv(cv_mixt_xmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+ ndim)
182 cv(cv_mixt_ymom,ijkd) =
patch%mixt%recvBuff(ijkbuff+2*ndim)
183 cv(cv_mixt_zmom,ijkd) =
patch%mixt%recvBuff(ijkbuff+3*ndim)
184 cv(cv_mixt_ener,ijkd) =
patch%mixt%recvBuff(ijkbuff+4*ndim)
185 IF (gasmodel == gas_model_tcperf)
THEN
**********************************************************************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)
subroutine rflo_receivedummyvals(region, regionSrc, patch, patchSrc)
**********************************************************************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
subroutine mixtureproperties(region, inBeg, inEnd, gasUpdate)
**********************************************************************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)