59 TYPE(t_region
),
POINTER :: regions(:)
67 INTEGER ::
icell, iregsrc, ilev, gasmodel, icoff, ijcoff, ijkd
70 REAL(RFREAL),
POINTER :: cv(:,:), cvsrc(:,:)
73 TYPE(t_level
),
POINTER :: level
77 global => regions(ireg)%global
80 'RFLO_ExchangeCornerEdgeCells.F90' )
84 ilev = regions(ireg)%currLevel
88 gasmodel = regions(ireg)%mixtInput%gasModel
89 level => regions(ireg)%levels(ilev)
95 IF (level%edgeCells(iedge)%interact .AND. &
96 level%edgeCells(iedge)%degenrt==degenerat_none)
THEN
104 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
105 icell = level%edgeCells(iedge)%cells(ijk)%srcCell
106 iregsrc = level%edgeCells(iedge)%cells(ijk)%srcRegion
107 IF (iregsrc > 0)
THEN
108 IF (regions(iregsrc)%procid == global%myProcid)
THEN
109 cvsrc => regions(iregsrc)%levels(ilev)%mixt%cv
111 IF (level%edgeCells(iedge)%cells(ijk)%rotate)
THEN
114 cv(cv_mixt_dens,ijkd) = cvsrc(cv_mixt_dens,
icell)
115 cv(cv_mixt_xmom,ijkd) = cvsrc(cv_mixt_xmom,
icell)
116 cv(cv_mixt_ymom,ijkd) = cvsrc(cv_mixt_ymom,
icell)
117 cv(cv_mixt_zmom,ijkd) = cvsrc(cv_mixt_zmom,
icell)
118 cv(cv_mixt_ener,ijkd) = cvsrc(cv_mixt_ener,
icell)
121 IF (gasmodel == gas_model_tcperf)
THEN
137 IF (level%cornerCells(
icorner)%interact .AND. &
138 level%cornerCells(
icorner)%degenrt==degenerat_none)
THEN
146 ijkd = indijk(
i,
j,
k,icoff,ijcoff)
148 iregsrc = level%cornerCells(
icorner)%cells(ijk)%srcRegion
149 IF (iregsrc > 0)
THEN
150 IF (regions(iregsrc)%procid == global%myProcid)
THEN
151 cvsrc => regions(iregsrc)%levels(ilev)%mixt%cv
153 IF (level%cornerCells(
icorner)%cells(ijk)%rotate)
THEN
156 cv(cv_mixt_dens,ijkd) = cvsrc(cv_mixt_dens,
icell)
157 cv(cv_mixt_xmom,ijkd) = cvsrc(cv_mixt_xmom,
icell)
158 cv(cv_mixt_ymom,ijkd) = cvsrc(cv_mixt_ymom,
icell)
159 cv(cv_mixt_zmom,ijkd) = cvsrc(cv_mixt_zmom,
icell)
160 cv(cv_mixt_ener,ijkd) = cvsrc(cv_mixt_ener,
icell)
163 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)
subroutine rflo_exchangecorneredgecells(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 icell
**********************************************************************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
**********************************************************************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)