50 indbeg,indend,jndbeg,jndend,kndbeg,kndend )
63 TYPE(t_region
) :: region
65 INTEGER :: indbeg, indend, jndbeg, jndend, kndbeg, kndend
68 INTEGER ::
i,
j,
k, idum, jdum, kdum
73 INTEGER :: ilev, inoff, ijnoff
74 INTEGER :: ijknb, ijkni, ijknj, ijknk, ijknd
75 INTEGER :: coindxi(2), coindxj(2), coindxk(2)
76 INTEGER :: ig(3), jg(3), kg(3), ir(3), jr(3), kr(3)
77 INTEGER :: idumb(3), jdumb(3), kdumb(3), idume(3), jdume(3), kdume(3)
81 global => region%global
83 'RFLO_C2fAvgCoeffsDummyPhys.F90' )
87 ilev = region%currLevel
90 IF (lbound==1 .OR. lbound==3 .OR. lbound==5)
THEN
91 idumb(:) = -
idir*region%nDumCells
92 jdumb(:) = -
jdir*region%nDumCells
93 kdumb(:) = -
kdir*region%nDumCells
101 idume(:) = -
idir*region%nDumCells
102 jdume(:) = -
jdir*region%nDumCells
103 kdume(:) = -
kdir*region%nDumCells
107 IF (lbound == 1)
THEN
109 ELSE IF (lbound == 3)
THEN
111 ELSE IF (lbound == 5)
THEN
113 ELSE IF (lbound == 2)
THEN
115 idumb(1) = idumb(1)-
idir
116 ELSE IF (lbound == 4)
THEN
118 jdumb(2) = jdumb(2)-
jdir
119 ELSE IF (lbound == 6)
THEN
121 kdumb(3) = kdumb(3)-
kdir
124 IF (lbound==1 .OR. lbound==2)
THEN
131 ELSEIF (lbound==3 .OR. lbound==4)
THEN
138 ELSEIF (lbound==5 .OR. lbound==6)
THEN
156 DO idum=idumb(1),idume(1)
157 DO jdum=jdumb(1),jdume(1)
158 DO kdum=kdumb(1),kdume(1)
159 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
160 ijkni = indijk(
i+ig(1)-idum,
j+jg(1)-jdum,
k+kg(1)-kdum,inoff,ijnoff)
161 region%levels(ilev)%grid%c2fCoI(coindxi(2),ijknd) = &
162 region%levels(ilev)%grid%c2fCoI(2,ijkni)
163 region%levels(ilev)%grid%c2fCoI(coindxi(1),ijknd) = &
164 1._rfreal-region%levels(ilev)%grid%c2fCoI(coindxi(2),ijknd)
169 DO idum=idumb(2),idume(2)
170 DO jdum=jdumb(2),jdume(2)
171 DO kdum=kdumb(2),kdume(2)
172 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
173 ijknj = indijk(
i+ig(2)-idum,
j+jg(2)-jdum,
k+kg(2)-kdum,inoff,ijnoff)
174 region%levels(ilev)%grid%c2fCoJ(coindxj(2),ijknd) = &
175 region%levels(ilev)%grid%c2fCoJ(2,ijknj)
176 region%levels(ilev)%grid%c2fCoJ(coindxj(1),ijknd) = &
177 1._rfreal-region%levels(ilev)%grid%c2fCoJ(coindxj(2),ijknd)
182 DO idum=idumb(3),idume(3)
183 DO jdum=jdumb(3),jdume(3)
184 DO kdum=kdumb(3),kdume(3)
185 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
186 ijknk = indijk(
i+ig(3)-idum,
j+jg(3)-jdum,
k+kg(3)-kdum,inoff,ijnoff)
187 region%levels(ilev)%grid%c2fCoK(coindxk(2),ijknd) = &
188 region%levels(ilev)%grid%c2fCoK(2,ijknk)
189 region%levels(ilev)%grid%c2fCoK(coindxk(1),ijknd) = &
190 1._rfreal-region%levels(ilev)%grid%c2fCoK(coindxk(2),ijknd)
subroutine rflo_c2favgcoeffsdummyphys(region, lbound, idir, jdir, kdir, indBeg, indEnd, jndBeg, jndEnd, kndBeg, kndEnd)
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
**********************************************************************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)