61 TYPE(t_region
),
POINTER :: regions(:)
70 INTEGER ::
status(mpi_status_size)
72 INTEGER :: ilev, iregsrc, ibuff, ndim,
source,
tag, gasmodel
75 REAL(RFREAL),
POINTER :: cv(:,:)
78 TYPE(t_level
),
POINTER :: level
79 TYPE(t_dcelltransf
),
POINTER :: recveccell
83 global => regions(ireg)%global
86 'RFLO_ReceiveCornerEdgeCells.F90' )
88 ilev = regions(ireg)%currLevel
89 gasmodel = regions(ireg)%mixtInput%gasModel
90 level => regions(ireg)%levels(ilev)
97 DO ir=1,global%nRegions
98 IF (regions(ir)%procid /= global%myProcid)
THEN
99 IF (level%recvEcCells(ir)%nCells > 0)
THEN
101 recveccell => level%recvEcCells(ir)
102 ndim = recveccell%nCells
106 source = regions(ir)%procid
107 tag = regions(ireg)%localNumber
108 CALL mpi_recv( recveccell%buff,cv_mixt_neqs*ndim,mpi_rfreal, &
110 IF (global%mpierr /= 0) CALL
errorstop( global,err_mpi_trouble,__line__ )
116 IF (level%edgeCells(iedge)%interact .AND. &
117 level%edgeCells(iedge)%degenrt==degenerat_none)
THEN
126 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
127 iregsrc = level%edgeCells(iedge)%cells(ijk)%srcRegion
128 IF (iregsrc == ir)
THEN
130 IF (level%edgeCells(iedge)%cells(ijk)%rotate)
THEN
133 cv(cv_mixt_dens,ijkc) = recveccell%buff(ibuff )
134 cv(cv_mixt_xmom,ijkc) = recveccell%buff(ibuff+ ndim)
135 cv(cv_mixt_ymom,ijkc) = recveccell%buff(ibuff+2*ndim)
136 cv(cv_mixt_zmom,ijkc) = recveccell%buff(ibuff+3*ndim)
137 cv(cv_mixt_ener,ijkc) = recveccell%buff(ibuff+4*ndim)
140 IF (gasmodel == gas_model_tcperf)
THEN
156 IF (level%cornerCells(
icorner)%interact .AND. &
157 level%cornerCells(
icorner)%degenrt==degenerat_none)
THEN
166 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
167 iregsrc = level%cornerCells(
icorner)%cells(ijk)%srcRegion
168 IF (iregsrc == ir)
THEN
170 IF (level%cornerCells(
icorner)%cells(ijk)%rotate)
THEN
173 cv(cv_mixt_dens,ijkc) = recveccell%buff(ibuff )
174 cv(cv_mixt_xmom,ijkc) = recveccell%buff(ibuff+ ndim)
175 cv(cv_mixt_ymom,ijkc) = recveccell%buff(ibuff+2*ndim)
176 cv(cv_mixt_zmom,ijkc) = recveccell%buff(ibuff+3*ndim)
177 cv(cv_mixt_ener,ijkc) = recveccell%buff(ibuff+4*ndim)
180 IF (gasmodel == gas_model_tcperf)
THEN
subroutine rflo_getedgecellsindices(region, iLev, iedge, iebeg, ieend, jebeg, jeend, kebeg, keend)
**********************************************************************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_receivecorneredgecells(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 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 icorner
subroutine rflo_getcornercellsindices(region, iLev, icorner, icbeg, icend, jcbeg, jcend, kcbeg, kcend)
**********************************************************************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)