55 TYPE(t_region
),
INTENT(INOUT) :: region
58 INTEGER ::
i,
j,
k, icv
61 CHARACTER(CHRLEN) :: rcsidentstring
64 INTEGER :: ilev, icoff, ijcoff, off1d, ijkc, ijkc1, ijdum, ijdum1
65 INTEGER :: im1, jm1, km1, ip1, jp1, kp1, ncv
68 REAL(RFREAL),
POINTER ::
rhs(:,:), epsirs(:,:),
d(:)
74 rcsidentstring =
'$RCSfile: PEUL_ResidualSmoothing.F90,v $ $Revision: 1.3 $'
76 global => region%global
79 'PEUL_ResidualSmoothing.F90' )
85 ilev = region%currLevel
91 epsirs => region%levels(ilev)%peul%epsIrs
92 rhs => region%levels(ilev)%peul%rhs
95 ncv = region%levels(ilev)%peul%nCv
104 ijdum = indij(
i,
j,off1d) + 1
111 ijkc = indijk(
i ,
j,
k,icoff,ijcoff)
112 ijkc1 = indijk(im1,
j,
k,icoff,ijcoff)
113 ijdum = indij(
i ,
j,off1d) + 1
114 ijdum1 = indij(im1,
j,off1d) + 1
115 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(icoord,ijkc)- &
116 epsirs(icoord,ijkc)*
d(ijdum1))
117 d(ijdum) = t*epsirs(icoord,ijkc)
120 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
129 ijkc = indijk(
i ,
j,
k,icoff,ijcoff)
130 ijkc1 = indijk(ip1,
j,
k,icoff,ijcoff)
131 ijdum = indij(
i,
j,off1d) + 1
134 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
149 ijdum = indij(
j,
i,off1d) + 1
156 ijkc = indijk(
i,
j ,
k,icoff,ijcoff)
157 ijkc1 = indijk(
i,jm1,
k,icoff,ijcoff)
158 ijdum = indij(
j ,
i,off1d) + 1
159 ijdum1 = indij(jm1,
i,off1d) + 1
160 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(jcoord,ijkc)- &
161 epsirs(jcoord,ijkc)*
d(ijdum1))
162 d(ijdum) = t*epsirs(jcoord,ijkc)
165 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
174 ijkc = indijk(
i,
j ,
k,icoff,ijcoff)
175 ijkc1 = indijk(
i,jp1,
k,icoff,ijcoff)
176 ijdum = indij(
j,
i,off1d) + 1
179 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
194 ijdum = indij(
k,
i,off1d) + 1
201 ijkc = indijk(
i,
j,
k ,icoff,ijcoff)
202 ijkc1 = indijk(
i,
j,km1,icoff,ijcoff)
203 ijdum = indij(
k ,
i,off1d) + 1
204 ijdum1 = indij(km1,
i,off1d) + 1
205 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(kcoord,ijkc)- &
206 epsirs(kcoord,ijkc)*
d(ijdum1))
207 d(ijdum) = t*epsirs(kcoord,ijkc)
210 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
219 ijkc = indijk(
i,
j,
k ,icoff,ijcoff)
220 ijkc1 = indijk(
i,
j,kp1,icoff,ijcoff)
221 ijdum = indij(
k,
i,off1d) + 1
224 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
**********************************************************************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 kpcbeg
subroutine registerfunction(global, funName, fileName)
**********************************************************************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 jpcbeg
**********************************************************************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 ipcend
**********************************************************************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 ipcbeg
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
subroutine peul_residualsmoothing(region)
**********************************************************************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 jpcend
subroutine deregisterfunction(global)
subroutine rflo_getdimensphys(region, iLev, ipcbeg, ipcend, jpcbeg, jpcend, kpcbeg, kpcend)