95 TYPE(t_region
),
POINTER :: pregion
103 IF ( pregion%mixtInput%moveGrid .EQV. .true. )
THEN
152 REAL(RFREAL),
INTENT(INOUT) :: fs
153 TYPE(t_region
),
POINTER :: pregion
199 TYPE(t_region
),
POINTER :: pregion
205 INTEGER :: ifg,ifl,ipatch
206 REAL(RFREAL) :: scalefactor
207 TYPE(t_grid),
POINTER :: pgrid
208 TYPE(t_patch),
POINTER :: ppatch
214 pgrid => pregion%grid
216 scalefactor = 1.0_rfreal/pgrid%fsScaleFactor
222 DO ifg = lbound(pgrid%gs,1),ubound(pgrid%gs,1)
223 pgrid%gs(ifg) = scalefactor*pgrid%gs(ifg)
226 DO ipatch = 1,pgrid%nPatches
227 ppatch => pregion%patches(ipatch)
229 DO ifl = lbound(ppatch%gs,1),ubound(ppatch%gs,1)
230 ppatch%gs(ifl) = scalefactor*ppatch%gs(ifl)
274 TYPE(t_region
),
POINTER :: pregion
281 pregion%grid%fsScaleFactor = 1.0_rfreal
326 REAL(RFREAL),
INTENT(INOUT) :: fs
327 TYPE(t_region
),
POINTER :: pregion
373 TYPE(t_region
),
POINTER :: pregion
379 INTEGER :: ifg,ifl,ipatch
380 REAL(RFREAL) :: scalefactor
381 TYPE(t_grid),
POINTER :: pgrid
382 TYPE(t_patch),
POINTER :: ppatch
388 pgrid => pregion%grid
390 scalefactor = pgrid%fsScaleFactor
396 DO ifg = lbound(pgrid%gs,1),ubound(pgrid%gs,1)
397 pgrid%gs(ifg) = scalefactor*pgrid%gs(ifg)
400 DO ipatch = 1,pgrid%nPatches
401 ppatch => pregion%patches(ipatch)
403 DO ifl = lbound(ppatch%gs,1),ubound(ppatch%gs,1)
404 ppatch%gs(ifl) = scalefactor*ppatch%gs(ifl)
446 TYPE(t_region
),
POINTER :: pregion
452 INTEGER :: irk,irkstep,nrksteps
454 REAL(RFREAL) :: ark(5),grk(5)
456 TYPE(t_grid),
POINTER :: pgrid
462 global => pregion%global
463 pgrid => pregion%grid
465 irkstep = pregion%irkStep
466 nrksteps = pregion%global%nrkSteps
468 ark(:) = pregion%mixtInput%ark(:)
469 grk(:) = pregion%mixtInput%grk(:)
475 IF ( irkstep > 1 .AND. irkstep < nrksteps )
THEN
476 pgrid%fsScaleFactor = ark(irkstep-1)/ark(irkstep)
477 ELSE IF ( irkstep == 1 )
THEN
478 pgrid%fsScaleFactor = 1.0_rfreal/ark(irkstep)
479 ELSE IF ( irkstep == nrksteps )
THEN
482 DO irk = 1,nrksteps-1
486 pgrid%fsScaleFactor = (1.0_rfreal/ark(nrksteps) -
term)/ark(irkstep-1)
488 CALL
errorstop(global,err_reached_default,__line__)
subroutine, public rflu_setgridspeedscalefactor(pRegion)
real(rfreal) function, public rflu_scalegridspeed(pRegion, fs)
LOGICAL function, public rflu_decideneedgridspeeds(pRegion)
real(rfreal) function, public rflu_descalegridspeed(pRegion, fs)
subroutine, public rflu_initgridspeedscalefactor(pRegion)
subroutine, public rflu_descalegridspeeds(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine, public rflu_scalegridspeeds(pRegion)