61 TYPE(t_region
) :: region
69 CHARACTER(CHRLEN) :: rcsidentstring
71 INTEGER :: ilev, npcls, npclsprev, ipclsregionin
74 INTEGER :: kcplag,
kpcbeg, kpcend
76 INTEGER,
POINTER,
DIMENSION(:,:) :: paiv, paivold
78 LOGICAL :: lboundskip(6)
80 REAL(RFREAL),
POINTER,
DIMENSION(:,:) :: parv, parvold, pcv, pcvold, &
81 pdv, ptv, prhs, prhssum
83 TYPE(t_plag),
POINTER :: pplag
89 '$RCSfile: PLAG_PatchRemoveDataOutflow.F90,v $ $Revision: 1.3 $'
91 global => region%global
94 'PLAG_PatchRemoveDataOutflow.F90' )
98 ilev = region%currLevel
99 npcls = region%levels(ilev)%plag%nPcls
101 IF (npcls == 0) goto 999
105 pplag => region%levels(ilev)%plag
112 prhssum => pplag%rhsSum
114 paivold => pplag%aivOld
115 parvold => pplag%arvOld
116 pcvold => pplag%cvOld
131 icplag = paiv(aiv_plag_indexi,ipcls)
132 jcplag = paiv(aiv_plag_indexj,ipcls)
133 kcplag = paiv(aiv_plag_indexk,ipcls)
139 kpcbeg <= kcplag .AND. kcplag <= kpcend )
THEN
143 ipclsregionin = ipclsregionin + 1
145 IF ( ipclsregionin /= ipcls )
THEN
146 paiv( :,ipclsregionin) = paiv( :,ipcls)
147 parv( :,ipclsregionin) = parv( :,ipcls)
148 pcv( :,ipclsregionin) = pcv( :,ipcls)
149 pdv( :,ipclsregionin) = pdv( :,ipcls)
150 ptv( :,ipclsregionin) = ptv( :,ipcls)
151 prhs( :,ipclsregionin) = prhs( :,ipcls)
152 prhssum(:,ipclsregionin) = prhssum(:,ipcls)
154 paivold(:,ipclsregionin) = paivold(:,ipcls)
155 parvold(:,ipclsregionin) = parvold(:,ipcls)
156 pcvold( :,ipclsregionin) = pcvold( :,ipcls)
165 npclsprev = pplag%nPcls
166 pplag%nPcls = ipclsregionin
**********************************************************************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
subroutine plag_patchremovedataoutflow(region, 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 ipcbeg
**********************************************************************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)