Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TFLU_ConvertFlo2FluMesh.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 !******************************************************************************
24 !
25 ! Purpose: collect sizes of required arrays and compute unstructured grid
26 ! and its connectivity from structured grid in the current region
27 !
28 ! Description: collect array sizes at first call, i.e. when iFlag=0.
29 ! At second call (iFlag=1) compute the x,y,z coordinates of the
30 ! the unstructured vertices and obtain connectivity for all
31 ! all hexes in the whole region. The connectivity of quads and
32 ! vertices at boundary patches are computed in subroutine
33 ! ConvertFlo2FluPatch.
34 !
35 ! Input: iFlag = flag to determine the type of processing:
36 ! 0 for collection of array sizes
37 ! 1 for computation of unstructured grid and connectivity
38 ! iReg = region number
39 ! regions = data for all regions
40 !
41 ! Output: global%tofluNPatches, NVerts, NHexs, NbfMax, NbnMax (iFlag=0)
42 ! grid%tofluLoc2g, global%tofluLoc2g, tofluXyz, tofluHex2v (iFlag=1)
43 ! global%tofluNFaces (iFlag=0), NEdges (iFlag=0 and 1)
44 !
45 ! Notes: grid%tofluLoc2g is not deallocated in loop over regions in the main
46 ! main code ROCFLO_toFlu (unlike grid%xyz), as connectivity in previous
47 ! regions are needed by the current region. This is done for simplicity
48 ! in coding, otherwise additional surface arrays for connectivity at
49 ! patches of previous regions are required including a copy procedure
50 ! to these arrays. The memory penalty due to this unallocated arrays
51 ! is believed to be insubstantial, as the values stored are integer.
52 !
53 !******************************************************************************
54 !
55 ! $Id: TFLU_ConvertFlo2FluMesh.F90,v 1.5 2008/12/06 08:44:53 mtcampbe Exp $
56 !
57 ! Copyright: (c) 2001 by the University of Illinois
58 !
59 !******************************************************************************
60 
61 SUBROUTINE convertflo2flumesh( iFlag,iReg,regions )
62 
63  USE moddatatypes
64  USE moderror
65  USE moddatastruct, ONLY : t_region
66  USE modglobal, ONLY : t_global
67  USE modgrid, ONLY : t_grid
68  USE modbndpatch, ONLY : t_patch
73 
74  USE modparameters
75  IMPLICIT NONE
76 
77 #include "Indexing.h"
78 
79 ! ... parameters
80  INTEGER :: iflag, ireg
81  TYPE(t_region), POINTER :: regions(:)
82 
83 ! ... loop variables
84  INTEGER :: ipatch, i, j, k, ipatchsrc
85 
86 ! ... local variables
87  TYPE(t_global), POINTER :: global
88  TYPE(t_grid) , POINTER :: grid, gridsrc
89  TYPE(t_patch) , POINTER :: patch, patchsrc
90 
91  INTEGER :: ilev, lbound, bctype, inoff, ijnoff, ijkn, ibn, ien, found(6)
92  INTEGER :: ipnbeg, ipnend, jpnbeg, jpnend, kpnbeg, kpnend
93  INTEGER :: idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend
94  INTEGER :: iaddb, jaddb, kaddb, iadde, jadde, kadde, madd
95  INTEGER :: idir, jdir, kdir, idirsrc, jdirsrc, kdirsrc
96  INTEGER :: ibeg, iend, jbeg, jend, kbeg, kend, dims(2), errorflag
97  INTEGER :: ibegsrc, iendsrc, jbegsrc, jendsrc, kbegsrc, kendsrc
98  INTEGER :: is, js, ks, l1srcdir, l2srcdir, mapmat(3,4)
99  INTEGER :: h, iregsrc, ilevsrc, lbs, l1bs, l1es, l2bs, l2es
100  LOGICAL :: align
101 
102 !******************************************************************************
103 
104  global => regions(1)%global
105  CALL registerfunction( global,'ConvertFlo2FluMesh',&
106  'TFLU_ConvertFlo2FluMesh.F90' )
107 
108 ! collect sizes and check bnd patches (iFlag=0) -------------------------------
109 ! memory allocations and read grid (iFlag=1)
110 
111 ! allocate memory for grid
112 
113  ilev = regions(ireg)%currLevel
114 
115  CALL rflo_getdimensphysnodes( regions(ireg),ilev,ipnbeg,ipnend, &
116  jpnbeg,jpnend,kpnbeg,kpnend )
117  CALL rflo_getdimensdummynodes( regions(ireg),ilev,idnbeg,idnend, &
118  jdnbeg,jdnend,kdnbeg,kdnend )
119  CALL rflo_getnodeoffset( regions(ireg),ilev,inoff,ijnoff )
120 
121 ! detect any region face with mixed connecting and non-conn. bc.
122 
123  iaddb = 0
124  jaddb = 0
125  kaddb = 0
126  iadde = 0
127  jadde = 0
128  kadde = 0
129 
130  found(:) = 0
131 
132  DO ipatch=1,regions(ireg)%nPatches
133 
134  patch => regions(ireg)%levels(ilev)%patches(ipatch)
135  lbound = patch%lbound
136  bctype = patch%bcType
137  iregsrc = patch%srcRegion
138 
139 ! - note, current algorithm only holds for connecting bc applied on whole face
140 ! of a region, not partially or mixed with other bcType
141 
142  CALL rflo_getpatchindicesnodes( regions(ireg),patch,ilev, &
143  ibeg,iend,jbeg,jend,kbeg,kend )
144 
145  IF ((bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range) .AND. &
146  iregsrc < ireg) THEN
147  IF (lbound==1) iaddb = 1
148  IF (lbound==2) iadde = -1
149  IF (lbound==3) jaddb = 1
150  IF (lbound==4) jadde = -1
151  IF (lbound==5) kaddb = 1
152  IF (lbound==6) kadde = -1
153 
154  IF (lbound==1) THEN
155  IF (found(1)<0) goto 666
156  found(1)=1
157  ELSEIF (lbound==2) THEN
158  IF (found(2)<0) goto 666
159  found(2)=1
160  ELSEIF (lbound==3) THEN
161  IF (found(3)<0) goto 666
162  found(3)=1
163  ELSEIF (lbound==4) THEN
164  IF (found(4)<0) goto 666
165  found(4)=1
166  ELSEIF (lbound==5) THEN
167  IF (found(5)<0) goto 666
168  found(5)=1
169  ELSEIF (lbound==6) THEN
170  IF (found(6)<0) goto 666
171  found(6)=1
172  ENDIF
173 
174  ELSE ! bcType
175 
176  IF (lbound==1) THEN
177  IF (found(1)>0) goto 666
178  found(1)=-1
179  ELSEIF (lbound==2) THEN
180  IF (found(2)>0) goto 666
181  found(2)=-1
182  ELSEIF (lbound==3) THEN
183  IF (found(3)>0) goto 666
184  found(3)=-1
185  ELSEIF (lbound==4) THEN
186  IF (found(4)>0) goto 666
187  found(4)=-1
188  ELSEIF (lbound==5) THEN
189  IF (found(5)>0) goto 666
190  found(5)=-1
191  ELSEIF (lbound==6) THEN
192  IF (found(6)>0) goto 666
193  found(6)=-1
194  ENDIF
195  ENDIF ! bcType
196  ENDDO ! iPatch
197 
198  goto 777
199 
200 666 CONTINUE
201 
202  WRITE(stdout,*)'ERROR: Region', ireg, &
203  ' has mixed conn./phys. bc on same block side'
204 ! CALL ErrorStop( global,ERR_PATCH_DIMENS,__LINE__, &
205 ! 'Only works if connecting BC covers whole, not partial, patch' )
206 
207 777 CONTINUE
208 
209  IF (iflag == 0) THEN
210 
211 ! - increment global number of vertices and hexes for memory allocations
212 
213  DO k=kpnbeg+kaddb,kpnend+kadde
214  DO j=jpnbeg+jaddb,jpnend+jadde
215  DO i=ipnbeg+iaddb,ipnend+iadde
216  global%tofluNVerts = global%tofluNVerts + 1
217  ENDDO
218  ENDDO
219  ENDDO
220 
221  DO k=kpnbeg,kpnend-1
222  DO j=jpnbeg,jpnend-1
223  DO i=ipnbeg,ipnend-1
224  global%tofluNHexs = global%tofluNHexs + 1
225  ENDDO
226  ENDDO
227  ENDDO
228 
229 ! - similar for MAX number of vertices and faces (quads) at non-conn. patches
230 ! global%tofluNFaces rides along
231 
232  DO ipatch=1,regions(ireg)%nPatches
233  patch => regions(ireg)%levels(ilev)%patches(ipatch)
234  bctype = patch%bcType
235 
236  IF (bctype<bc_regionconf .OR. bctype>bc_regionconf+bc_range) THEN
237 
238  global%tofluNPatches = global%tofluNPatches + 1
239 
240  dims(1) = abs(patch%l1end-patch%l1beg) + 1 ! faces values
241  dims(2) = abs(patch%l2end-patch%l2beg) + 1
242  global%tofluNbfMax = max( global%tofluNbfMax,dims(1)*dims(2) )
243  global%tofluNFaces = global%tofluNFaces + dims(1)*dims(2)
244 
245  dims(1) = abs(patch%l1end-patch%l1beg) + 2 ! nodes values
246  dims(2) = abs(patch%l2end-patch%l2beg) + 2
247  global%tofluNbnMax = max( global%tofluNbnMax,dims(1)*dims(2) )
248  ENDIF
249  ENDDO
250 
251 ! - increment global number of faces and edges for dimension file
252 
253 ! - I-faces
254  DO k=kpnbeg ,kpnend-1
255  DO j=jpnbeg ,jpnend-1
256  DO i=ipnbeg+1,ipnend-1
257  global%tofluNFaces = global%tofluNFaces + 1
258  ENDDO
259  ENDDO
260  ENDDO
261 
262 ! - J-faces
263  DO k=kpnbeg ,kpnend-1
264  DO j=jpnbeg+1,jpnend-1
265  DO i=ipnbeg ,ipnend-1
266  global%tofluNFaces = global%tofluNFaces + 1
267  ENDDO
268  ENDDO
269  ENDDO
270 
271 ! - K-faces
272  DO k=kpnbeg+1,kpnend-1
273  DO j=jpnbeg ,jpnend-1
274  DO i=ipnbeg ,ipnend-1
275  global%tofluNFaces = global%tofluNFaces + 1
276  ENDDO
277  ENDDO
278  ENDDO
279 
280 ! - Edges
281  DO k=kpnbeg,kpnend
282  DO j=jpnbeg,jpnend
283  DO i=ipnbeg,ipnend
284  global%tofluNEdges = global%tofluNEdges + 3
285  ENDDO
286  ENDDO
287  ENDDO
288 
289 ! - Patch faces and edges
290  DO ipatch=1,regions(ireg)%nPatches
291  patch => regions(ireg)%levels(ilev)%patches(ipatch)
292  bctype = patch%bcType
293  iregsrc = patch%srcRegion
294 
295  IF ((bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range) &
296  .AND. iregsrc < ireg) THEN
297 
298  dims(1) = abs(patch%l1end-patch%l1beg) + 1 ! faces values
299  dims(2) = abs(patch%l2end-patch%l2beg) + 1
300  global%tofluNFaces = global%tofluNFaces + dims(1)*dims(2)
301 
302  dims(1) = abs(patch%l1end-patch%l1beg) + 2 ! nodes values
303  dims(2) = abs(patch%l2end-patch%l2beg) + 2
304  global%tofluNEdges = global%tofluNEdges - dims(1)*dims(2)*3
305  ENDIF ! bcType
306  ENDDO
307 
308  ELSE ! iFlag
309 
310  ibn = indijk(idnbeg,jdnbeg,kdnbeg,inoff,ijnoff)
311  ien = indijk(idnend,jdnend,kdnend,inoff,ijnoff)
312 
313  grid => regions(ireg)%levels(ilev)%grid
314 
315  ALLOCATE( grid%xyz(3,ibn:ien),stat=errorflag )
316  global%error = errorflag
317  IF (global%error /= 0) CALL errorstop( global,err_allocate,__line__ )
318 
319  ALLOCATE( grid%tofluLoc2g(ipnbeg:ipnend,jpnbeg:jpnend,kpnbeg:kpnend), &
320  stat=errorflag )
321  global%error = errorflag
322  IF (global%error /= 0) CALL errorstop( global,err_deallocate,__line__ )
323 
324 ! - read volume grid
325 
326  CALL rflo_readgridregion( ireg,regions )
327 
328 ! - obtain current region local-to-global (l2g) mapping -------------------------
329 
330  DO k=kpnbeg+kaddb,kpnend+kadde
331  DO j=jpnbeg+jaddb,jpnend+jadde
332  DO i=ipnbeg+iaddb,ipnend+iadde
333  ijkn = indijk(i,j,k,inoff,ijnoff)
334 
335  global%tofluNVerts = global%tofluNVerts + 1
336  global%tofluXyz(1,global%tofluNVerts) = grid%xyz(xcoord,ijkn)
337  global%tofluXyz(2,global%tofluNVerts) = grid%xyz(ycoord,ijkn)
338  global%tofluXyz(3,global%tofluNVerts) = grid%xyz(zcoord,ijkn)
339  grid%tofluLoc2g(i,j,k) = global%tofluNVerts
340  ENDDO
341  ENDDO
342  ENDDO
343  ENDIF ! iFlag
344 
345  IF (iflag == 0) goto 888
346 
347 ! l2g mapping at connecting patches --------------------------------------------
348 
349  DO ipatch=1,regions(ireg)%nPatches
350 
351  patch => regions(ireg)%levels(ilev)%patches(ipatch)
352  lbound = patch%lbound
353  bctype = patch%bcType
354  iregsrc = patch%srcRegion
355 
356 ! - only at connecting patches and previous source regions
357 
358  IF ((bctype>=bc_regionconf .AND. bctype<=bc_regionconf + bc_range) .AND. &
359  iregsrc < ireg) THEN
360 
361  align = patch%align
362  ilevsrc = regions(iregsrc)%currLevel
363  lbs = patch%srcLbound
364  l1bs = min(patch%srcL1beg,patch%srcL1end)
365  l1es = max(patch%srcL1beg,patch%srcL1end)
366  l2bs = min(patch%srcL2beg,patch%srcL2end)
367  l2es = max(patch%srcL2beg,patch%srcL2end)
368 
369 ! --- search for iPatchSrc
370 
371  DO ipatchsrc=1,regions(iregsrc)%nPatches
372  patchsrc => regions(iregsrc)%levels(ilevsrc)%patches(ipatchsrc)
373 
374  IF (patchsrc%bcType==bctype .AND. &
375  patchsrc%lbound==lbs .AND. &
376  patchsrc%l1beg ==l1bs .AND. &
377  patchsrc%l1end ==l1es .AND. &
378  patchsrc%l2beg ==l2bs .AND. &
379  patchsrc%l2end ==l2es) THEN ! OK, iPatchSrc found
380  patch%srcPatch = ipatchsrc
381  ENDIF
382  ENDDO ! iPatchSrc
383 
384  ipatchsrc = patch%srcPatch
385  patchsrc => regions(iregsrc)%levels(ilevsrc)%patches(ipatchsrc)
386  gridsrc => regions(iregsrc)%levels(ilevsrc)%grid
387 
388 ! --- copy l2g mapping from the source patch already processed to current patch
389 
390  CALL rflo_getpatchindicesnodes( regions(ireg),patch,ilev, &
391  ibeg,iend,jbeg,jend,kbeg,kend )
392  CALL rflo_getpatchindicesnodes( regions(iregsrc),patchsrc,ilev, &
393  ibegsrc,iendsrc,jbegsrc,jendsrc,kbegsrc,kendsrc )
395  CALL rflo_getpatchdirection( patchsrc,idirsrc,jdirsrc,kdirsrc )
396 
397  l1srcdir = 1
398  IF (patch%srcL1beg > patch%srcL1end) l1srcdir = -1
399  l2srcdir = 1
400  IF (patch%srcL2beg > patch%srcL2end) l2srcdir = -1
401 
402  CALL rflo_getpatchmapping( lbound,lbs,l1srcdir,l2srcdir,align, &
403  idir,jdir,kdir,idirsrc,jdirsrc,kdirsrc, &
404  ibeg,iend,jbeg,jend,kbeg,kend, &
405  ibegsrc,iendsrc,jbegsrc,jendsrc, &
406  kbegsrc,kendsrc,mapmat )
407 
408  IF (lbs==1) mapmat(1,4) = mapmat(1,4)+1
409  IF (lbs==2) mapmat(1,4) = mapmat(1,4)-1
410  IF (lbs==3) mapmat(2,4) = mapmat(2,4)+1
411  IF (lbs==4) mapmat(2,4) = mapmat(2,4)-1
412  IF (lbs==5) mapmat(3,4) = mapmat(3,4)+1
413  IF (lbs==6) mapmat(3,4) = mapmat(3,4)-1
414  DO k=kbeg,kend
415  DO j=jbeg,jend
416  DO i=ibeg,iend
417  is = i*mapmat(1,1)+j*mapmat(1,2)+k*mapmat(1,3)+mapmat(1,4)
418  js = i*mapmat(2,1)+j*mapmat(2,2)+k*mapmat(2,3)+mapmat(2,4)
419  ks = i*mapmat(3,1)+j*mapmat(3,2)+k*mapmat(3,3)+mapmat(3,4)
420  grid%tofluLoc2g(i,j,k) = gridsrc%tofluLoc2g(is,js,ks)
421  ENDDO ! i
422  ENDDO ! j
423  ENDDO ! k
424 
425  ENDIF ! bcType
426  ENDDO ! iPatch
427 
428 ! obtain global hex connectivity ----------------------------------------------
429 
430  DO k=kpnbeg,kpnend-1
431  DO j=jpnbeg,jpnend-1
432  DO i=ipnbeg,ipnend-1
433  global%tofluNHexs = global%tofluNHexs + 1
434  h = global%tofluNHexs
435  global%tofluHex2v(1,h) = grid%tofluLoc2g(i ,j ,k )
436  global%tofluHex2v(2,h) = grid%tofluLoc2g(i ,j ,k+1)
437  global%tofluHex2v(3,h) = grid%tofluLoc2g(i+1,j ,k+1)
438  global%tofluHex2v(4,h) = grid%tofluLoc2g(i+1,j ,k )
439  global%tofluHex2v(5,h) = grid%tofluLoc2g(i ,j+1,k )
440  global%tofluHex2v(6,h) = grid%tofluLoc2g(i ,j+1,k+1)
441  global%tofluHex2v(7,h) = grid%tofluLoc2g(i+1,j+1,k+1)
442  global%tofluHex2v(8,h) = grid%tofluLoc2g(i+1,j+1,k )
443  ENDDO ! i
444  ENDDO ! j
445  ENDDO ! k
446 
447 888 CONTINUE
448 
449 ! finalize --------------------------------------------------------------------
450 
451  CALL deregisterfunction( global )
452 
453 END SUBROUTINE convertflo2flumesh
454 
455 !******************************************************************************
456 !
457 ! RCS Revision history:
458 !
459 ! $Log: TFLU_ConvertFlo2FluMesh.F90,v $
460 ! Revision 1.5 2008/12/06 08:44:53 mtcampbe
461 ! Updated license.
462 !
463 ! Revision 1.4 2008/11/19 22:18:03 mtcampbe
464 ! Added Illinois Open Source License/Copyright
465 !
466 ! Revision 1.3 2006/03/07 03:23:48 wasistho
467 ! enabled serial execution
468 !
469 ! Revision 1.2 2004/12/03 03:43:44 wasistho
470 ! rflo_modinterfacestoflu to tflu_modinterfaces
471 !
472 ! Revision 1.1 2004/12/03 02:59:30 wasistho
473 ! added prefix
474 !
475 ! Revision 1.1 2004/12/03 00:58:20 wasistho
476 ! lower to upper case
477 !
478 ! Revision 1.2 2004/08/18 02:10:33 wasistho
479 ! added new routines to create dimension file
480 !
481 ! Revision 1.1.1.1 2004/08/17 01:41:39 wasistho
482 ! initial checkin
483 !
484 !
485 !******************************************************************************
486 
487 
488 
489 
490 
491 
492 
**********************************************************************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 ibeg
**********************************************************************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 jpnbeg
subroutine rflo_getpatchdirection(patch, idir, jdir, kdir)
j indices k indices k
Definition: Indexing.h:6
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
Definition: Vector_n.h:354
**********************************************************************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 kpnbeg
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflo_getpatchindices(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
**********************************************************************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 jpnend
**********************************************************************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
subroutine rflo_readgridregion(iReg, regions)
**********************************************************************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 jdir
**********************************************************************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
Definition: patch.h:74
**********************************************************************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 knode iend
subroutine rflo_getpatchindicesnodes(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
blockLoc i
Definition: read.cpp:79
**********************************************************************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 ipnbeg
**********************************************************************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 idir
subroutine convertflo2flumesh(iFlag, iReg, regions)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
Definition: Vector_n.h:346
subroutine rflo_getdimensphysnodes(region, iLev, ipnbeg, ipnend, jpnbeg, jpnend, kpnbeg, kpnend)
j indices j
Definition: Indexing.h:6
**********************************************************************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 knode jend
**********************************************************************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 kdir
subroutine rflo_getdimensdummynodes(region, iLev, idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend)
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
**********************************************************************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 knode jbeg
subroutine rflo_getpatchmapping(lb, lbs, l1SrcDir, l2SrcDir, align, idir, jdir, kdir, idirSrc, jdirSrc, kdirSrc, ibeg, iend, jbeg, jend, kbeg, kend, ibegSrc, iendSrc, jbegSrc, jendSrc, kbegSrc, kendSrc, mapMat)
subroutine grid(bp)
Definition: setup_py.f90:257
**********************************************************************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 knode kbeg
subroutine deregisterfunction(global)
Definition: ModError.F90:469
**********************************************************************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 ipnend
**********************************************************************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