64 CHARACTER(CHRLEN) :: RCSIdentString = &
65 '$RCSfile: PLAG_ModRkInit.F90,v $ $Revision: 1.8 $'
110 INTEGER,
INTENT(IN) ::
icbeg,
icend,istage,ivbeg,ivend
111 INTEGER,
DIMENSION(:,:),
POINTER :: aiv,aivold
112 TYPE(t_region
) :: region
118 CHARACTER(CHRLEN) :: rcsidentstring
126 rcsidentstring =
'$RCSfile: PLAG_ModRkInit.F90,v $ $Revision: 1.8 $'
128 global => region%global
131 'PLAG_ModRkInit.F90')
137 SELECT CASE ( global%rkScheme )
138 CASE ( rk_scheme_4_classical )
139 IF ( istage == 1 )
THEN
142 aivold(iv,
ic) = aiv(iv,
ic)
146 CASE ( rk_scheme_3_wray )
149 aivold(iv,
ic) = aiv(iv,
ic)
153 CALL
errorstop(global,err_reached_default,__line__)
202 INTEGER,
INTENT(IN) ::
icbeg,
icend,istage,ivbeg,ivend
203 REAL(RFREAL),
DIMENSION(:,:),
POINTER :: rv,rvold
204 TYPE(t_region
) :: region
210 CHARACTER(CHRLEN) :: rcsidentstring
218 rcsidentstring =
'$RCSfile: PLAG_ModRkInit.F90,v $ $Revision: 1.8 $'
220 global => region%global
223 'PLAG_ModRkInit.F90')
229 SELECT CASE ( global%rkScheme )
230 CASE ( rk_scheme_4_classical )
231 IF ( istage == 1 )
THEN
234 rvold(iv,
ic) = rv(iv,
ic)
238 CASE ( rk_scheme_3_wray )
241 rvold(iv,
ic) = rv(iv,
ic)
245 CALL
errorstop(global,err_reached_default,__line__)
287 INTEGER,
INTENT(IN) :: istage
288 TYPE(t_region
),
INTENT(INOUT),
TARGET :: region
294 CHARACTER(CHRLEN) :: rcsidentstring
299 INTEGER :: naiv,narv,ncv,npcls
300 INTEGER,
POINTER,
DIMENSION(:,:) :: paiv, paivold
302 REAL(RFREAL),
POINTER,
DIMENSION(:,:) :: parv, parvold, pcv, pcvold
304 TYPE(t_plag),
POINTER :: pplag
311 rcsidentstring =
'$RCSfile: PLAG_ModRkInit.F90,v $ $Revision: 1.8 $'
313 global => region%global
316 'PLAG_ModRkInit.F90')
323 ilev = region%currLevel
324 pplag => region%levels(ilev)%plag
334 paivold => pplag%aivOld
335 parvold => pplag%arvOld
336 pcvold => pplag%cvOld
343 npcls = region%levels(ilev)%plag%nPcls
346 npcls = region%plag%nPcls
401 INTEGER,
INTENT(IN) :: istage
402 TYPE(t_region
),
INTENT(INOUT),
TARGET :: region
408 CHARACTER(CHRLEN) :: rcsidentstring
409 INTEGER :: bctype,ipatch,ncv,npatches,ntiles
411 INTEGER :: ilev,n1,n2
414 REAL(RFREAL),
POINTER,
DIMENSION(:,:) :: pcv, pcvold
416 TYPE(t_patch),
POINTER :: ppatch
424 rcsidentstring =
'$RCSfile: PLAG_ModRkInit.F90,v $ $Revision: 1.8 $'
426 global => region%global
429 'PLAG_ModRkInit.F90')
436 ilev = region%currLevel
437 npatches = region%nPatches
440 npatches = region%grid%nPatches
450 ppatch => region%levels(ilev)%patches(ipatch)
453 ppatch => region%patches(ipatch)
456 bctype = ppatch%bcType
463 IF ( (bctype >= bc_injection .AND. bctype <= bc_injection + bc_range) .OR. &
464 (bctype >= bc_inflow .AND. bctype <= bc_inflow + bc_range) )
THEN
466 IF ( (bctype >= bc_injection .AND. bctype <= bc_injection + bc_range))
THEN
474 n1 = abs(ppatch%l1end -ppatch%l1beg ) + 1
475 n2 = abs(ppatch%l2end -ppatch%l2beg ) + 1
479 ntiles = ppatch%nBFaces
482 ptileplag => ppatch%tilePlag
487 pcvold => ptileplag%cvOld
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 ic
subroutine plag_rkinitgenericint(region, iStage, icBeg, icEnd, ivBeg, ivEnd, aiv, aivOld)
subroutine, public plag_rkinitprimary(region, iStage)
**********************************************************************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 icbeg
subroutine, public plag_injctilerkinit(region, iStage)
subroutine plag_rkinitgenericreal(region, iStage, icBeg, icEnd, ivBeg, ivEnd, rv, rvOld)
**********************************************************************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 icend
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)