Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TURB_floLesAverageFace.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: Average face variable to another face variable whose size depends
26 ! on the number of homogeneous directions. The field to be filtered
27 ! is contained in faceVar and on exit the averaged data is stored in
28 ! avgFaceVar
29 !
30 ! Description: Only the inner field (including boundaries) is averaged.
31 ! If the averaging direction (denoted by homDir) is the same as
32 ! the working face direction (denoted by ijk) the averaging
33 ! interval ranges from the first face up to the last face,
34 ! otherwise from the first center to the last center, for instance
35 ! if homDir=(1,0,0) and ijk=DIRI the averaging interval is
36 ! [ipnbeg:ipnend], whereas if homDir=(0,1,0) and ijk=DIRI it is
37 ! [jpcbeg:jpcend]. If there is no homogeneous direction, a local
38 ! averaging by applying a test filter procedure and the averaged
39 ! data is contained in a volume array. If there is only one
40 ! averaging (homogeneous) direction, the averaged data is
41 ! contained in a surface array. For two averaging directions, it
42 ! is a line array, whereas for three averaging directions
43 ! (isotropic flows) the averaged data has one single value. On
44 ! exit the averaged data, eiter volume, surface, line array or
45 ! point (scalar) is stored in 1D array avgFaceVar.
46 ! For each ijk case we perform line averaging-operation in three
47 ! consecutive sweeps corresponding to the three computational
48 ! directions, depending on whether a particular direction
49 ! homogeneous (homDir(i)=1) or not (=0). Averaging is only
50 ! performed in homogeneous direction. We use trapezoidal rule if
51 ! the averaging direction is normal to the faces and ensemble
52 ! rule otherwise. homDir(i)=0 for all three directions implies no
53 ! homogeneous direction is present and local face-face filtering
54 ! is used in this case
55 !
56 ! Input: region = current region data
57 ! ijk = ijk-face is being treated
58 ! faceVar = face variables to be averaged
59 !
60 ! Output: avgFaceVar = the resulting averaged variables.
61 !
62 ! Notes: Several generic averaging routines contained at the end of this file.
63 !
64 !******************************************************************************
65 !
66 ! $Id: TURB_floLesAverageFace.F90,v 1.6 2008/12/06 08:44:43 mtcampbe Exp $
67 !
68 ! Copyright: (c) 2001 by the University of Illinois
69 !
70 !******************************************************************************
71 
72 SUBROUTINE turb_flolesaverageface( region,ijk,faceVar,avgFaceVar )
73 
74  USE moddatatypes
75  USE moddatastruct, ONLY : t_region
76  USE modglobal, ONLY : t_global
80  USE modturbulence
81  USE moderror
82  USE modparameters
84  IMPLICIT NONE
85 
86 #include "Indexing.h"
87 
88 ! ... parameters
89  TYPE(t_region) :: region
90  INTEGER :: ijk
91  REAL(RFREAL), POINTER :: facevar(:),avgfacevar(:)
92 
93 ! ... loop variables
94  INTEGER :: i, j, k, ijkn, ijn, ikn, jkn
95 
96 ! ... local variables
97  CHARACTER(CHRLEN) :: rcsidentstring
98  TYPE(t_global), POINTER :: global
99 
100  INTEGER :: ibeg,iend,jbeg,jend,kbeg,kend
101  INTEGER :: ipnbeg,ipnend,jpnbeg,jpnend,kpnbeg,kpnend
102  INTEGER :: idnbeg,idnend,jdnbeg,jdnend,kdnbeg,kdnend
103  INTEGER :: ilev,inoff,jnoff,knoff,ijnoff,iknoff,jknoff
104  INTEGER :: ibn,ien,homsum,minl,maxl,actsize,refsize
105  INTEGER :: tndel(diri:dirk),homdir(diri:dirk)
106 
107  REAL(RFREAL) :: avgpoint
108  REAL(RFREAL), POINTER :: avgline(:),avgsurf(:)
109  REAL(RFREAL), POINTER :: onedvec(:,:),avgonedvec(:,:)
110 
111 !******************************************************************************
112 
113  rcsidentstring = '$RCSfile: TURB_floLesAverageFace.F90,v $'
114 
115  global => region%global
116  CALL registerfunction( global,'TURB_FloLesAverageFace',&
117  'TURB_floLesAverageFace.F90' )
118 
119 ! get indices and pointers --------------------------------------------------
120 
121  ilev = region%currLevel
122  CALL rflo_getdimensphysnodes( region,ilev,ipnbeg,ipnend, &
123  jpnbeg,jpnend,kpnbeg,kpnend )
124  CALL rflo_getdimensdummynodes( region,ilev,idnbeg,idnend, &
125  jdnbeg,jdnend,kdnbeg,kdnend )
126  CALL rflo_getnodeoffset( region,ilev,inoff,ijnoff )
127  ibn = indijk(idnbeg,jdnbeg,kdnbeg,inoff,ijnoff)
128  ien = indijk(idnend,jdnend,kdnend,inoff,ijnoff)
129  jnoff = jdnend-jdnbeg+1
130  knoff = kdnend-kdnbeg+1
131  iknoff = inoff*(kdnend-kdnbeg+1)
132  jknoff = jnoff*(kdnend-kdnbeg+1)
133  minl = min(idnbeg,jdnbeg,kdnbeg)
134  maxl = max(idnend,jdnend,kdnend)
135 
136  IF (ijk==diri) THEN
137  ibeg = ipnbeg
138  iend = ipnend
139  jbeg = jpnbeg
140  jend = jpnend-1
141  kbeg = kpnbeg
142  kend = kpnend-1
143  ELSEIF (ijk==dirj) THEN
144  ibeg = ipnbeg
145  iend = ipnend-1
146  jbeg = jpnbeg
147  jend = jpnend
148  kbeg = kpnbeg
149  kend = kpnend-1
150  ELSEIF (ijk==dirk) THEN
151  ibeg = ipnbeg
152  iend = ipnend-1
153  jbeg = jpnbeg
154  jend = jpnend-1
155  kbeg = kpnbeg
156  kend = kpnend
157  ENDIF
158 
159  homdir(:) = region%turbInput%homDir(:)
160  homsum = homdir(diri) + homdir(dirj) + homdir(dirk)
161 
162 ! for local point-averaging we use test filter width twice grid-spacing
163 
164 ! - Volume filtering with possibly more terms filtered across regions
165 ! tNDel(DIRI)=2
166 ! tNDel(DIRJ)=2
167 ! tNDel(DIRK)=2
168 
169 ! - Surface filtering for least terms filtered across region boundaries
170  IF (ijk==diri) THEN
171  tndel(diri)=0
172  tndel(dirj)=2
173  tndel(dirk)=2
174  ELSEIF (ijk==dirj) THEN
175  tndel(diri)=2
176  tndel(dirj)=0
177  tndel(dirk)=2
178  ELSEIF (ijk==dirk) THEN
179  tndel(diri)=2
180  tndel(dirj)=2
181  tndel(dirk)=0
182  ENDIF
183 
184  IF (region%turbInput%filterType == filtype_nonunif) THEN
185  IF ((tndel(diri)/=2 .AND. tndel(diri)/=0) .OR. &
186  (tndel(dirj)/=2 .AND. tndel(dirj)/=0) .OR. &
187  (tndel(dirk)/=2 .AND. tndel(dirk)/=0)) THEN
188  CALL errorstop( global,err_turb_fixparam,__line__, &
189  'filter coeff. possibly not allocated if tNDel =/ 2 for nonunif. filter.')
190  ENDIF
191  ENDIF
192 
193 ! allocate temporary arrays
194 
195  ALLOCATE( avgline(minl:maxl),avgsurf(ibn:ien) )
196  ALLOCATE( onedvec(1,ibn:ien ),avgonedvec(1,ibn:ien) )
197 
198 ! perform averaging process depending on number of homogeneous directions
199 
200  IF (homsum == 3) THEN
201 
202 ! - all three directions are homogeneous
203 
204  actsize=1
205 
206  IF (homdir(diri)==active .AND. homdir(dirj)==active) THEN
207 
208  IF (ijk==diri) THEN
209 ! ----- averaging in all direction; trapezoidal in i-direction and ensemble
210 ! in other directions
211  CALL trapezoid3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
212  CALL ensemble2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
213  CALL ensemble1loop( kbeg,kend,avgline,avgpoint )
214 
215  ELSEIF (ijk==dirj) THEN
216 ! ----- averaging in all direction; trapezoidal in j-direction and ensemble
217 ! in other directions
218  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
219  CALL trapezoid2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
220  CALL ensemble1loop( kbeg,kend,avgline,avgpoint )
221 
222  ELSEIF (ijk==dirk) THEN
223 ! ----- averaging in all direction; trapezoidal in k-direction and ensemble
224 ! in other directions
225  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
226  CALL ensemble2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
227  CALL trapezoid1loop( kbeg,kend,avgline,avgpoint )
228 
229  ENDIF
230  ELSE
231  CALL errorstop( global,err_turb_lesinput,__line__,'homDir is not consistent.')
232  ENDIF
233 
234  avgfacevar = avgpoint
235 
236  ELSEIF (homsum == 2) THEN
237 
238  IF (homdir(dirj)==active .AND. homdir(dirk)==active) THEN
239  actsize = inoff
240 
241  IF (ijk==diri) THEN
242 ! ----- averaging in j and k direction; ensemble in both direcions
243  CALL ensemble3ljki( jbeg,jend,kbeg,kend,ibeg,iend,facevar,avgsurf )
244  CALL ensemble2loops( kbeg,kend,ibeg,iend,knoff,avgsurf,avgline )
245 
246  ELSEIF (ijk==dirj) THEN
247 ! ----- averaging in j and k direction; trapezoidal in j direction and
248 ! ensemble in k direcions
249  CALL trapezoid3ljki( jbeg,jend,kbeg,kend,ibeg,iend,facevar,avgsurf )
250  CALL ensemble2loops( kbeg,kend,ibeg,iend,knoff,avgsurf,avgline )
251 
252  ELSEIF (ijk==dirk) THEN
253 ! ----- averaging in j and k direction; trapezoidal in k direction and
254 ! ensemble in j direcions
255  CALL ensemble3ljki( jbeg,jend,kbeg,kend,ibeg,iend,facevar,avgsurf )
256  CALL trapezoid2loops( kbeg,kend,ibeg,iend,knoff,avgsurf,avgline )
257 
258  ENDIF
259 
260 ! --- copy to avgFaceVar
261  DO k=kbeg,kend
262  DO j=jbeg,jend
263  DO i=ibeg,iend
264  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
265  avgfacevar(ijkn) = avgline(i)
266  ENDDO
267  ENDDO
268  ENDDO
269 
270  ELSEIF (homdir(diri)==active .AND. homdir(dirk)==active) THEN
271  actsize = jnoff
272 
273  IF (ijk==diri) THEN
274 ! ----- averaging in i and k direction; trapezoidal in i direction and
275 ! ensemble in k direcions:
276  CALL trapezoid3likj( ibeg,iend,kbeg,kend,jbeg,jend,facevar,avgsurf )
277  CALL ensemble2loops( kbeg,kend,jbeg,jend,knoff,avgsurf,avgline )
278 
279  ELSEIF (ijk==dirj) THEN
280 ! ----- averaging in i and k direction; ensemble in both direcions
281  CALL ensemble3likj( ibeg,iend,kbeg,kend,jbeg,jend,facevar,avgsurf )
282  CALL ensemble2loops( kbeg,kend,jbeg,jend,knoff,avgsurf,avgline )
283 
284  ELSEIF (ijk==dirk) THEN
285 ! ----- averaging in i and k direction; trapezoidal in k direction and
286 ! ensemble in i direcions
287  CALL ensemble3likj( ibeg,iend,kbeg,kend,jbeg,jend,facevar,avgsurf )
288  CALL trapezoid2loops( kbeg,kend,jbeg,jend,knoff,avgsurf,avgline )
289 
290  ENDIF
291 
292 ! --- copy to avgFaceVar
293  DO k=kbeg,kend
294  DO j=jbeg,jend
295  DO i=ibeg,iend
296  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
297  avgfacevar(ijkn) = avgline(j)
298  ENDDO
299  ENDDO
300  ENDDO
301 
302  ELSEIF (homdir(diri)==active .AND. homdir(dirj)==active) THEN
303  actsize = knoff
304 
305  IF (ijk==diri) THEN
306 ! ----- averaging in i and j direction; trapezoidal in i direction and
307 ! ensemble in j direcions
308  CALL trapezoid3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
309  CALL ensemble2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
310 
311  ELSEIF (ijk==dirj) THEN
312 ! ----- averaging in i and j direction; trapezoidal in j direction and
313 ! ensemble in i direcions
314  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
315  CALL trapezoid2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
316 
317  ELSEIF (ijk==dirk) THEN
318 ! ----- averaging in i and j direction; ensemble in both directions
319  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
320  CALL ensemble2loops( jbeg,jend,kbeg,kend,jnoff,avgsurf,avgline )
321 
322  ENDIF
323 
324 ! --- copy to avgFaceVar
325  DO k=kbeg,kend
326  DO j=jbeg,jend
327  DO i=ibeg,iend
328  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
329  avgfacevar(ijkn) = avgline(k)
330  ENDDO
331  ENDDO
332  ENDDO
333 
334  ELSE
335  CALL errorstop( global,err_turb_lesinput,__line__,'homDir is not consistent.')
336  ENDIF
337 
338  ELSEIF (homsum == 1) THEN
339 
340  IF (homdir(dirj)/=active .AND. homdir(dirk)/=active) THEN
341  actsize = jknoff
342 
343  IF (ijk==diri) THEN
344 ! ----- trapezoidal averaging in i direction
345  CALL trapezoid3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
346 
347  ELSEIF (ijk==dirj) THEN
348 ! ----- ensemble averaging in i direction
349  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
350 
351  ELSEIF (ijk==dirk) THEN
352 ! ----- ensemble averaging in i direction.
353  CALL ensemble3lijk( ibeg,iend,jbeg,jend,kbeg,kend,facevar,avgsurf )
354 
355  ENDIF
356 
357 ! --- copy to avgFaceVar
358  DO k=kbeg,kend
359  DO j=jbeg,jend
360  jkn = indij(j ,k ,jnoff)
361  DO i=ibeg,iend
362  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
363  avgfacevar(ijkn) = avgsurf(jkn)
364  ENDDO
365  ENDDO
366  ENDDO
367 
368  ELSEIF (homdir(diri)/=active .AND. homdir(dirk)/=active) THEN
369  actsize = iknoff
370 
371  IF (ijk==diri) THEN
372 ! ----- ensemble averaging in j direction.
373  CALL ensemble3ljik( jbeg,jend,ibeg,iend,kbeg,kend,facevar,avgsurf )
374 
375  ELSEIF (ijk==dirj) THEN
376 ! ----- trapezoidal averaging in j direction
377  CALL trapezoid3ljik( jbeg,jend,ibeg,iend,kbeg,kend,facevar,avgsurf )
378 
379  ELSEIF (ijk==dirk) THEN
380 ! ----- ensemble averaging in j direction
381  CALL ensemble3ljik( jbeg,jend,ibeg,iend,kbeg,kend,facevar,avgsurf )
382 
383  ENDIF
384 
385 ! --- copy to avgFaceVar
386  DO k=kbeg,kend
387  DO i=ibeg,iend
388  ikn = indij(i ,k ,inoff)
389  DO j=jbeg,jend
390  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
391  avgfacevar(ijkn) = avgsurf(ikn)
392  ENDDO
393  ENDDO
394  ENDDO
395 
396  ELSEIF (homdir(diri)/=active .AND. homdir(dirj)/=active) THEN
397  actsize = ijnoff
398 
399  IF (ijk==diri) THEN
400 ! ----- ensemble averaging in k direction
401  CALL ensemble3lkij( kbeg,kend,ibeg,iend,jbeg,jend,facevar,avgsurf )
402 
403  ELSEIF (ijk==dirj) THEN
404 ! ----- ensemble averaging in k direction.
405  CALL ensemble3lkij( kbeg,kend,ibeg,iend,jbeg,jend,facevar,avgsurf )
406 
407  ELSEIF (ijk==dirk) THEN
408 ! ----- trapezoidal averaging in k direction.
409  CALL trapezoid3lkij( kbeg,kend,ibeg,iend,jbeg,jend,facevar,avgsurf )
410 
411  ENDIF
412 
413 ! --- copy to avgFaceVar
414  DO j=jbeg,jend
415  DO i=ibeg,iend
416  ijn = indij(i ,j ,inoff)
417  DO k=kbeg,kend
418  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
419  avgfacevar(ijkn) = avgsurf(ijn)
420  ENDDO
421  ENDDO
422  ENDDO
423 
424  ELSE
425  CALL errorstop( global,err_turb_lesinput,__line__,'homDir is not consistent.')
426  ENDIF
427 
428  ELSEIF (homsum == 0) THEN
429 
430  IF (homdir(diri)/=active .AND. homdir(dirj)/=active) THEN
431 
432  actsize = ijnoff*(kdnend-kdnbeg+1)
433 
434  DO i = ibn,ien
435  onedvec(1,i) = facevar(i)
436  ENDDO
437  IF (region%turbInput%filterType == filtype_uniform) THEN
438  CALL turb_flolesunifiltff( region,ijk,tndel,1,1,onedvec,avgonedvec )
439  ELSE
440  CALL turb_flolesgenfiltff( region,ijk,tndel,1,1,onedvec,avgonedvec )
441  ENDIF
442  DO i = ibn,ien
443  avgfacevar(i) = avgonedvec(1,i)
444  ENDDO
445  ELSE
446  CALL errorstop( global,err_turb_lesinput,__line__,'homDir is not consistent.')
447  ENDIF
448  ELSE
449  CALL errorstop( global,err_turb_lesinput,__line__,'homDir is not consistent.')
450  ENDIF
451 
452 ! check size of averaged variable array
453 
454 ! IF (refSize /= actSize) THEN
455 ! CALL ErrorStop( global,ERR_TURB_LESINPUT,__LINE__,'coefDim is not consistent.')
456 ! ENDIF
457 
458 ! deallocate temporary arrays
459 
460  DEALLOCATE( avgline,avgsurf,onedvec,avgonedvec )
461 
462 ! finalize --------------------------------------------------------------------
463 
464  CALL deregisterfunction( global )
465 
466 ! ==============================================================================
467 ! summation subroutines
468 ! ==============================================================================
469 
470 CONTAINS
471 
472  SUBROUTINE trapezoid1loop( ib,ie,lineVar,pointVar )
473 
474 ! ... parameters
475  INTEGER :: ib,ie
476  REAL(RFREAL), POINTER :: linevar(:)
477  REAL(RFREAL) :: pointvar
478 
479 ! ... local variables
480  INTEGER :: i
481  REAL(RFREAL) :: sum
482 
483 ! - start procedure ---------------------------------------
484 
485  pointvar = 0._rfreal
486 
487  sum = 0._rfreal
488  DO i=ib+1,ie-1
489  sum = sum + linevar(i)
490  ENDDO
491  sum = sum + 0.5_rfreal*(linevar(ib)+linevar(ie))
492  pointvar = sum/REAL(ie-ib)
493 
494  END SUBROUTINE trapezoid1loop
495 
496 !#####################################################################
497 
498  SUBROUTINE ensemble1loop( ib,ie,lineVar,pointVar )
499 
500 ! ... parameters
501  INTEGER :: ib,ie
502  REAL(RFREAL), POINTER :: linevar(:)
503  REAL(RFREAL) :: pointvar
504 
505 ! ... local variables
506  INTEGER :: i
507  REAL(RFREAL) :: sum
508 
509 ! - start procedure ---------------------------------------
510 
511  pointvar = 0._rfreal
512 
513  sum = 0._rfreal
514  DO i=ib,ie
515  sum = sum + linevar(i)
516  ENDDO
517  pointvar = sum/REAL(ie-ib+1)
518 
519  END SUBROUTINE ensemble1loop
520 
521 !#####################################################################
522 
523  SUBROUTINE trapezoid2loops( ib,ie,jb,je,nOff,surfVar,lineVar )
524 
525 ! ... parameters
526  INTEGER :: ib,ie,jb,je,noff
527  REAL(RFREAL), POINTER :: surfvar(:),linevar(:)
528 
529 ! ... local variables
530  INTEGER :: i,j,ijn,ijnb,ijne
531  REAL(RFREAL) :: sum
532 
533 ! - start procedure ---------------------------------------
534 
535  linevar = 0._rfreal
536 
537  DO j=jb,je
538  sum = 0._rfreal
539  DO i=ib+1,ie-1
540  ijn = indij(i ,j ,noff)
541  sum = sum + surfvar(ijn)
542  ENDDO
543  ijnb = indij(ib ,j ,noff)
544  ijne = indij(ie ,j ,noff)
545  sum = sum + 0.5_rfreal*(surfvar(ijnb)+surfvar(ijne))
546  linevar(j) = sum/REAL(ie-ib)
547  ENDDO
548 
549  END SUBROUTINE trapezoid2loops
550 
551 !#####################################################################
552 
553  SUBROUTINE ensemble2loops( ib,ie,jb,je,nOff,surfVar,lineVar )
554 
555 ! ... parameters
556  INTEGER :: ib,ie,jb,je,noff
557  REAL(RFREAL), POINTER :: surfvar(:),linevar(:)
558 
559 ! ... local variables
560  INTEGER :: i,j,ijn
561  REAL(RFREAL) :: sum
562 
563 ! - start procedure ---------------------------------------
564 
565  linevar = 0._rfreal
566 
567  DO j=jb,je
568  sum = 0._rfreal
569  DO i=ib,ie
570  ijn = indij(i ,j ,noff)
571  sum = sum+surfvar(ijn)
572  ENDDO
573  linevar(j) = sum/REAL(ie-ib+1)
574  ENDDO
575 
576  END SUBROUTINE ensemble2loops
577 
578 !#####################################################################
579 
580  SUBROUTINE trapezoid3lijk( ib,ie,jb,je,kb,ke,volVar,surfVar )
581 
582 ! ... parameters
583  INTEGER :: ib,ie,jb,je,kb,ke
584  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
585 
586 ! ... local variables
587  INTEGER :: i,j,k,jkn,ijkn,ijknb,ijkne
588  REAL(RFREAL) :: sum
589 
590 ! - start procedure ---------------------------------------
591 
592  surfvar = 0._rfreal
593 
594  DO k=kb,ke
595  DO j=jb,je
596  jkn = indij(j ,k ,jnoff)
597  sum = 0._rfreal
598  DO i=ib+1,ie-1
599  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
600  sum = sum + volvar(ijkn)
601  ENDDO
602  ijknb = indijk(ib ,j ,k ,inoff,ijnoff)
603  ijkne = ijknb + ie-ib
604  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
605  surfvar(jkn) = sum/REAL(ie-ib)
606  ENDDO
607  ENDDO
608 
609  END SUBROUTINE trapezoid3lijk
610 !===============================================================
611  SUBROUTINE trapezoid3likj( ib,ie,kb,ke,jb,je,volVar,surfVar )
612 
613 ! ... parameters
614  INTEGER :: ib,ie,jb,je,kb,ke
615  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
616 
617 ! ... local variables
618  INTEGER :: i,j,k,kjn,ijkn,ijknb,ijkne
619  REAL(RFREAL) :: sum
620 
621 ! - start procedure ---------------------------------------
622 
623  surfvar = 0._rfreal
624 
625  DO j=jb,je
626  DO k=kb,ke
627  kjn = indij(k ,j ,knoff)
628  sum = 0._rfreal
629  DO i=ib+1,ie-1
630  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
631  sum = sum + volvar(ijkn)
632  ENDDO
633  ijknb = indijk(ib ,j ,k ,inoff,ijnoff)
634  ijkne = ijknb + ie-ib
635  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
636  surfvar(kjn) = sum/REAL(ie-ib)
637  ENDDO
638  ENDDO
639 
640  END SUBROUTINE trapezoid3likj
641 !===============================================================
642  SUBROUTINE trapezoid3ljik( jb,je,ib,ie,kb,ke,volVar,surfVar )
643 
644 ! ... parameters
645  INTEGER :: ib,ie,jb,je,kb,ke
646  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
647 
648 ! ... local variables
649  INTEGER :: i,j,k,ikn,ijkn,ijknb,ijkne
650  REAL(RFREAL) :: sum
651 
652 ! - start procedure ---------------------------------------
653 
654  surfvar = 0._rfreal
655 
656  DO k=kb,ke
657  DO i=ib,ie
658  ikn = indij(i ,k ,inoff)
659  sum = 0._rfreal
660  DO j=jb+1,je-1
661  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
662  sum = sum + volvar(ijkn)
663  ENDDO
664  ijknb = indijk(i ,jb ,k ,inoff,ijnoff)
665  ijkne = ijknb + (je-jb)*inoff
666  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
667  surfvar(ikn) = sum/REAL(je-jb)
668  ENDDO
669  ENDDO
670 
671  END SUBROUTINE trapezoid3ljik
672 !===============================================================
673  SUBROUTINE trapezoid3ljki( jb,je,kb,ke,ib,ie,volVar,surfVar )
674 
675 ! ... parameters
676  INTEGER :: ib,ie,jb,je,kb,ke
677  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
678 
679 ! ... local variables
680  INTEGER :: i,j,k,kin,ijkn,ijknb,ijkne
681  REAL(RFREAL) :: sum
682 
683 ! - start procedure ---------------------------------------
684 
685  surfvar = 0._rfreal
686 
687  DO i=ib,ie
688  DO k=kb,ke
689  kin = indij(k ,i ,knoff)
690  sum = 0._rfreal
691  DO j=jb+1,je-1
692  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
693  sum = sum + volvar(ijkn)
694  ENDDO
695  ijknb = indijk(i ,jb ,k ,inoff,ijnoff)
696  ijkne = ijknb + (je-jb)*inoff
697  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
698  surfvar(kin) = sum/REAL(je-jb)
699  ENDDO
700  ENDDO
701 
702  END SUBROUTINE trapezoid3ljki
703 !===============================================================
704  SUBROUTINE trapezoid3lkij( kb,ke,ib,ie,jb,je,volVar,surfVar )
705 
706 ! ... parameters
707  INTEGER :: ib,ie,jb,je,kb,ke
708  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
709 
710 ! ... local variables
711  INTEGER :: i,j,k,ijn,ijkn,ijknb,ijkne
712  REAL(RFREAL) :: sum
713 
714 ! - start procedure ---------------------------------------
715 
716  surfvar = 0._rfreal
717 
718  DO j=jb,je
719  DO i=ib,ie
720  ijn = indij(i ,j ,inoff)
721  sum = 0._rfreal
722  DO k=kb+1,ke-1
723  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
724  sum = sum + volvar(ijkn)
725  ENDDO
726  ijknb = indijk(i ,j ,kb ,inoff,ijnoff)
727  ijkne = ijknb + (ke-kb)*ijnoff
728  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
729  surfvar(ijn) = sum/REAL(ke-kb)
730  ENDDO
731  ENDDO
732 
733  END SUBROUTINE trapezoid3lkij
734 !===============================================================
735  SUBROUTINE trapezoid3lkji( kb,ke,jb,je,ib,ie,volVar,surfVar )
736 
737 ! ... parameters
738  INTEGER :: ib,ie,jb,je,kb,ke
739  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
740 
741 ! ... local variables
742  INTEGER :: i,j,k,jin,ijkn,ijknb,ijkne
743  REAL(RFREAL) :: sum
744 
745 ! - start procedure ---------------------------------------
746 
747  surfvar = 0._rfreal
748 
749  DO i=ib,ie
750  DO j=jb,je
751  jin = indij(j ,i ,jnoff)
752  sum = 0._rfreal
753  DO k=kb+1,ke-1
754  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
755  sum = sum + volvar(ijkn)
756  ENDDO
757  ijknb = indijk(i ,j ,kb ,inoff,ijnoff)
758  ijkne = ijknb + (ke-kb)*ijnoff
759  sum = sum + 0.5_rfreal*(volvar(ijknb)+volvar(ijkne))
760  surfvar(jin) = sum/REAL(ke-kb)
761  ENDDO
762  ENDDO
763 
764  END SUBROUTINE trapezoid3lkji
765 
766 !#####################################################################
767 
768  SUBROUTINE ensemble3lijk( ib,ie,jb,je,kb,ke,volVar,surfVar )
769 
770 ! ... parameters
771  INTEGER :: ib,ie,jb,je,kb,ke
772  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
773 
774 ! ... local variables
775  INTEGER :: i,j,k,jkn,ijkn
776  REAL(RFREAL) :: sum
777 
778 ! - start procedure ---------------------------------------
779 
780  surfvar = 0._rfreal
781 
782  DO k=kb,ke
783  DO j=jb,je
784  jkn = indij(j ,k ,jnoff)
785  sum = 0._rfreal
786  DO i=ib,ie
787  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
788  sum = sum + volvar(ijkn)
789  ENDDO
790  surfvar(jkn) = sum/REAL(ie-ib+1)
791  ENDDO
792  ENDDO
793 
794  END SUBROUTINE ensemble3lijk
795 !===============================================================
796  SUBROUTINE ensemble3likj( ib,ie,kb,ke,jb,je,volVar,surfVar )
797 
798 ! ... parameters
799  INTEGER :: ib,ie,jb,je,kb,ke
800  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
801 
802 ! ... local variables
803  INTEGER :: i,j,k,kjn,ijkn
804  REAL(RFREAL) :: sum
805 
806 ! - start procedure ---------------------------------------
807 
808  surfvar = 0._rfreal
809 
810  DO j=jb,je
811  DO k=kb,ke
812  kjn = indij(k ,j ,knoff)
813  sum = 0._rfreal
814  DO i=ib,ie
815  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
816  sum = sum + volvar(ijkn)
817  ENDDO
818  surfvar(kjn) = sum/REAL(ie-ib+1)
819  ENDDO
820  ENDDO
821 
822  END SUBROUTINE ensemble3likj
823 !===============================================================
824  SUBROUTINE ensemble3ljik( jb,je,ib,ie,kb,ke,volVar,surfVar )
825 
826 ! ... parameters
827  INTEGER :: ib,ie,jb,je,kb,ke
828  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
829 
830 ! ... local variables
831  INTEGER :: i,j,k,ikn,ijkn
832  REAL(RFREAL) :: sum
833 
834 ! - start procedure ---------------------------------------
835 
836  surfvar = 0._rfreal
837 
838  DO k=kb,ke
839  DO i=ib,ie
840  ikn = indij(i ,k ,inoff)
841  sum = 0._rfreal
842  DO j=jb,je
843  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
844  sum = sum + volvar(ijkn)
845  ENDDO
846  surfvar(ikn) = sum/REAL(je-jb+1)
847  ENDDO
848  ENDDO
849 
850  END SUBROUTINE ensemble3ljik
851 !===============================================================
852  SUBROUTINE ensemble3ljki( jb,je,kb,ke,ib,ie,volVar,surfVar )
853 
854 ! ... parameters
855  INTEGER :: ib,ie,jb,je,kb,ke
856  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
857 
858 ! ... local variables
859  INTEGER :: i,j,k,kin,ijkn
860  REAL(RFREAL) :: sum
861 
862 ! - start procedure ---------------------------------------
863 
864  surfvar = 0._rfreal
865 
866  DO i=ib,ie
867  DO k=kb,ke
868  kin = indij(k ,i ,knoff)
869  sum = 0._rfreal
870  DO j=jb,je
871  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
872  sum = sum + volvar(ijkn)
873  ENDDO
874  surfvar(kin) = sum/REAL(je-jb+1)
875  ENDDO
876  ENDDO
877 
878  END SUBROUTINE ensemble3ljki
879 !===============================================================
880  SUBROUTINE ensemble3lkij( kb,ke,ib,ie,jb,je,volVar,surfVar )
881 
882 ! ... parameters
883  INTEGER :: ib,ie,jb,je,kb,ke
884  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
885 
886 ! ... local variables
887  INTEGER :: i,j,k,ijn,ijkn
888  REAL(RFREAL) :: sum
889 
890 ! - start procedure ---------------------------------------
891 
892  surfvar = 0._rfreal
893 
894  DO j=jb,je
895  DO i=ib,ie
896  ijn = indij(i ,j ,inoff)
897  sum = 0._rfreal
898  DO k=kb,ke
899  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
900  sum = sum + volvar(ijkn)
901  ENDDO
902  surfvar(ijn) = sum/REAL(ke-kb+1)
903  ENDDO
904  ENDDO
905 
906  END SUBROUTINE ensemble3lkij
907 !===============================================================
908  SUBROUTINE ensemble3lkji( kb,ke,jb,je,ib,ie,volVar,surfVar )
909 
910 ! ... parameters
911  INTEGER :: ib,ie,jb,je,kb,ke
912  REAL(RFREAL), POINTER :: volvar(:),surfvar(:)
913 
914 ! ... local variables
915  INTEGER :: i,j,k,jin,ijkn
916  REAL(RFREAL) :: sum
917 
918 ! - start procedure ---------------------------------------
919 
920  surfvar = 0._rfreal
921 
922  DO i=ib,ie
923  DO j=jb,je
924  jin = indij(j ,i ,jnoff)
925  sum = 0._rfreal
926  DO k=kb,ke
927  ijkn = indijk(i ,j ,k ,inoff,ijnoff)
928  sum = sum + volvar(ijkn)
929  ENDDO
930  surfvar(jin) = sum/REAL(ke-kb+1)
931  ENDDO
932  ENDDO
933 
934  END SUBROUTINE ensemble3lkji
935 
936 END SUBROUTINE turb_flolesaverageface
937 
938 !******************************************************************************
939 !
940 ! RCS Revision history:
941 !
942 ! $Log: TURB_floLesAverageFace.F90,v $
943 ! Revision 1.6 2008/12/06 08:44:43 mtcampbe
944 ! Updated license.
945 !
946 ! Revision 1.5 2008/11/19 22:17:55 mtcampbe
947 ! Added Illinois Open Source License/Copyright
948 !
949 ! Revision 1.4 2004/06/03 02:14:54 wasistho
950 ! provided surface and volume (commented) local filtering
951 !
952 ! Revision 1.3 2004/05/29 03:39:55 wasistho
953 ! used local surface filtering instead of volume filtering in case of no hom. direction
954 !
955 ! Revision 1.2 2004/03/12 02:55:36 wasistho
956 ! changed rocturb routine names
957 !
958 ! Revision 1.1 2004/03/08 23:35:45 wasistho
959 ! changed turb nomenclature
960 !
961 ! Revision 1.4 2004/02/28 01:19:10 wasistho
962 ! reset filterwidth ratio for local averaging to 2
963 !
964 ! Revision 1.3 2004/02/18 21:27:51 wasistho
965 ! used smaller stencil for local averaging by filtering
966 !
967 ! Revision 1.2 2003/05/15 02:57:06 jblazek
968 ! Inlined index function.
969 !
970 ! Revision 1.1 2002/10/14 23:55:29 wasistho
971 ! Install Rocturb
972 !
973 !******************************************************************************
974 
975 
976 
977 
978 
979 
980 
**********************************************************************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
Tfloat sum() const
Return the sum of all the pixel values in an image.
Definition: CImg.h:13022
subroutine ensemble3lkji(kb, ke, jb, je, ib, ie, volVar, surfVar)
**********************************************************************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 ensemble1loop(ib, ie, lineVar, pointVar)
j indices k indices k
Definition: Indexing.h:6
subroutine turb_flolesaverageface(region, ijk, faceVar, avgFaceVar)
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 ensemble3ljik(jb, je, ib, ie, kb, ke, volVar, surfVar)
subroutine trapezoid3lijk(ib, ie, jb, je, kb, ke, volVar, surfVar)
subroutine ensemble3ljki(jb, je, kb, ke, ib, ie, volVar, surfVar)
subroutine trapezoid1loop(ib, ie, lineVar, pointVar)
**********************************************************************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
subroutine trapezoid2loops(ib, ie, jb, je, nOff, surfVar, lineVar)
**********************************************************************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
**********************************************************************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
**********************************************************************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 turb_flolesunifiltff(region, ijk, nDel, idBeg, idEnd, fVar, fbVar)
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
subroutine ensemble3lkij(kb, ke, ib, ie, jb, je, volVar, surfVar)
subroutine trapezoid3likj(ib, ie, kb, ke, jb, je, volVar, surfVar)
subroutine ensemble3likj(ib, ie, kb, ke, jb, je, volVar, surfVar)
subroutine trapezoid3lkji(kb, ke, jb, je, ib, ie, volVar, surfVar)
subroutine trapezoid3lkij(kb, ke, ib, ie, jb, je, volVar, surfVar)
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
subroutine trapezoid3ljki(jb, je, kb, ke, ib, ie, volVar, surfVar)
**********************************************************************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
subroutine ensemble2loops(ib, ie, jb, je, nOff, surfVar, lineVar)
subroutine rflo_getdimensdummynodes(region, iLev, idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend)
subroutine ensemble3lijk(ib, ie, jb, je, kb, ke, volVar, surfVar)
subroutine turb_flolesgenfiltff(region, ijk, nDel, idBeg, idEnd, fVar, fbVar)
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
**********************************************************************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
subroutine trapezoid3ljik(jb, je, ib, ie, kb, ke, volVar, surfVar)