52 indbeg,indend,jndbeg,jndend,kndbeg,kndend, &
53 ibegv ,iendv ,ibegg ,iendg , &
66 TYPE(t_region
) :: region
68 INTEGER :: indbeg, indend, jndbeg, jndend, kndbeg, kndend
69 INTEGER :: ibegv, iendv, ibegg, iendg
70 REAL(RFREAL),
POINTER ::
gradi(:,:),
gradj(:,:), gradk(:,:)
73 INTEGER ::
i,
j,
k, idum, jdum, kdum
76 INTEGER :: ilev, inoff, ijnoff
77 INTEGER :: ijkni, ijknj, ijknk, ijknd
78 INTEGER :: ig(3), jg(3), kg(3)
79 INTEGER :: idumb(3), jdumb(3), kdumb(3), idume(3), jdume(3), kdume(3)
84 'RFLO_CalcGradDummyConn.F90' )
88 ilev = region%currLevel
91 idumb(:) = -
idir*region%nDumCells
92 jdumb(:) = -
jdir*region%nDumCells
93 kdumb(:) = -
kdir*region%nDumCells
98 ig(:) = -
idir*(region%nDumCells-1)
99 jg(:) = -
jdir*(region%nDumCells-1)
100 kg(:) = -
kdir*(region%nDumCells-1)
101 IF (lbound == 2)
THEN
102 idumb(2) = idumb(2)+
idir; idumb(3) = idumb(3)+
idir
103 ig(2) = ig(2)+
idir; ig(3) = ig(3)+
idir
104 ELSE IF (lbound == 4)
THEN
105 jdumb(1) = jdumb(1)+
jdir; jdumb(3) = jdumb(3)+
jdir
106 jg(1) = jg(1)+
jdir; jg(3) = jg(3)+
jdir
107 ELSE IF (lbound == 6)
THEN
108 kdumb(1) = kdumb(1)+
kdir; kdumb(2) = kdumb(2)+
kdir
109 kg(1) = kg(1)+
kdir; kg(2) = kg(2)+
kdir
118 ijkni = indijk(
i+ig(1),
j+jg(1),
k+kg(1),inoff,ijnoff)
119 ijknj = indijk(
i+ig(2),
j+jg(2),
k+kg(2),inoff,ijnoff)
120 ijknk = indijk(
i+ig(3),
j+jg(3),
k+kg(3),inoff,ijnoff)
124 DO idum=idumb(1),idume(1)
125 DO jdum=jdumb(1),jdume(1)
126 DO kdum=kdumb(1),kdume(1)
127 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
133 DO idum=idumb(2),idume(2)
134 DO jdum=jdumb(2),jdume(2)
135 DO kdum=kdumb(2),kdume(2)
136 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
142 DO idum=idumb(3),idume(3)
143 DO jdum=jdumb(3),jdume(3)
144 DO kdum=kdumb(3),kdume(3)
145 ijknd = indijk(
i+idum,
j+jdum,
k+kdum,inoff,ijnoff)
146 gradk(:,ijknd) = gradk(:,ijknk)
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 iEndG gradi(:,:)
subroutine rflo_calcgraddummyconn(region, lbound, idir, jdir, kdir, indBeg, indEnd, jndBeg, jndEnd, kndBeg, kndEnd, iBegV, iEndV, iBegG, iEndG, gradi, gradj, gradk)
**********************************************************************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)
**********************************************************************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 iEndG gradj(:,:)