78 TYPE(t_region
) :: region
84 INTEGER :: ifc, ipatch, irk, irkstep
85 REAL(RFREAL) :: scalefactor,
term
86 REAL(RFREAL) :: ark(5), grk(5)
89 INTEGER :: ibn, ien, inoff, ijnoff, in
90 REAL(RFREAL),
POINTER :: sivel(:), sjvel(:), skvel(:)
93 REAL(RFREAL),
DIMENSION(:),
POINTER :: gs
94 TYPE(t_patch),
POINTER :: ppatch
102 global => region%global
105 'ScaleGridSpeeds.F90')
111 irkstep = region%irkStep
113 ark(:) = region%mixtInput%ark(:)
114 grk(:) = region%mixtInput%grk(:)
124 IF ( irkstep > 1 .AND. irkstep < global%nrkSteps )
THEN
125 scalefactor = ark(irkstep-1)/ark(irkstep)
126 ELSE IF ( irkstep == 1 )
THEN
127 scalefactor = 1.0_rfreal/ark(irkstep)
128 ELSE IF ( irkstep == global%nrkSteps )
THEN
131 DO irk = 1,global%nrkSteps-1
135 scalefactor = (1.0_rfreal/ark(global%nrkSteps) -
term)/ark(irkstep-1)
137 CALL
errorstop(global,err_reached_default,__line__)
145 ilev = region%currLevel
152 sivel => region%levels(ilev)%grid%siVel
153 sjvel => region%levels(ilev)%grid%sjVel
154 skvel => region%levels(ilev)%grid%skVel
157 sivel(in) = scalefactor*sivel(in)
158 sjvel(in) = scalefactor*sjvel(in)
159 skvel(in) = scalefactor*skvel(in)
166 DO ifc = 1,region%grid%nFaces
167 gs(ifc) = scalefactor*gs(ifc)
174 DO ipatch = 1,region%grid%nPatches
175 ppatch => region%patches(ipatch)
178 DO ifc = 1,ppatch%nBFaces
179 gs(ifc) = scalefactor*gs(ifc)
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 jdnbeg
**********************************************************************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 idnend
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 jdnend
**********************************************************************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 idnbeg
subroutine rflo_getdimensdummynodes(region, iLev, idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine scalegridspeeds(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 kdnbeg