59 TYPE(t_region
) :: region
64 INTEGER :: idum, ilev,
i,
j,
k, ii, jj, kk
67 INTEGER :: ibegf, iendf, jbegf, jendf, kbegf, kendf,
idir,
jdir,
kdir, &
68 inofffine, ijnofffine, ijkf
69 INTEGER :: ibegc, iendc, jbegc, jendc, kbegc, kendc, &
70 inoffcoarse, ijnoffcoarse, ijkc
72 REAL(RFREAL),
POINTER :: xyzfine(:,:), xyzcoarse(:,:)
74 TYPE(t_patch),
POINTER :: patchfine, patchcoarse
79 'RFLO_ExchangeGeometryLevels.F90' )
83 DO ilev=2,region%nGridLevels
85 xyzfine => region%levels(ilev-1)%grid%xyz
86 xyzcoarse => region%levels(ilev )%grid%xyz
87 patchfine => region%levels(ilev-1)%patches(ipatch)
88 patchcoarse => region%levels(ilev )%patches(ipatch)
91 jbegf,jendf,kbegf,kendf )
93 jbegc,jendc,kbegc,kendc )
98 DO idum=1,region%nDumCells
100 kk = (
k-kbegc)*(2-abs(
kdir)) + kbegf
102 jj = (
j-jbegc)*(2-abs(
jdir)) + jbegf
104 ii = (
i-ibegc)*(2-abs(
idir)) + ibegf
105 ijkf = indijk(ii-idum*
idir,jj-idum*
jdir,kk-idum*
kdir,inofffine ,ijnofffine )
106 ijkc = indijk(
i-idum*
idir,
j-idum*
jdir,
k-idum*
kdir,inoffcoarse,ijnoffcoarse)
108 xyzcoarse(xcoord,ijkc) = xyzfine(xcoord,ijkf)
109 xyzcoarse(ycoord,ijkc) = xyzfine(ycoord,ijkf)
110 xyzcoarse(zcoord,ijkc) = xyzfine(zcoord,ijkf)
subroutine rflo_getpatchdirection(patch, idir, jdir, kdir)
subroutine rflo_exchangegeometrylevels(region, iPatch)
subroutine registerfunction(global, funName, fileName)
subroutine rflo_getnodeoffset(region, iLev, iNodeOffset, ijNodeOffset)
**********************************************************************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 jdir
subroutine rflo_getpatchindicesnodes(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 idir
**********************************************************************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 kdir
subroutine deregisterfunction(global)