58 TYPE(t_region
),
POINTER :: regions(:)
61 INTEGER :: ireg, istat
69 global => globalgenx%global
72 regions => globalgenx%regions
75 regions => globalgenx%levels(1)%regions
79 'Fluid_preHdfOutput.F90' )
84 eps = 100._rfreal*epsilon( 1._rfreal )
89 DO ireg=1,global%nRegions
90 IF (regions(ireg)%procid==global%myProcid .AND. &
91 regions(ireg)%active==active)
THEN
92 ilev = regions(ireg)%currLevel
95 DO ireg=1,global%nRegionsLocal
98 IF ((global%flowType==flow_unsteady) .AND. (global%doStat==active))
THEN
99 IF (global%integrTime > eps)
THEN
100 IF (global%mixtNStat > 0)
THEN
101 DO istat=1,global%mixtNStat
104 regions(ireg)%levels(ilev)%mixt%tav(istat,:) = &
105 regions(ireg)%levels(ilev)%mixt%tav(istat,:)/global%integrTime
108 regions(ireg)%mixt%tav(istat,:) = &
109 regions(ireg)%mixt%tav(istat,:)/global%integrTime
116 IF ((global%turbActive .EQV. .true.) .AND. (global%turbNStat > 0))
THEN
117 DO istat=1,global%turbNStat
120 regions(ireg)%levels(ilev)%turb%tav(istat,:) = &
121 regions(ireg)%levels(ilev)%turb%tav(istat,:)/global%integrTime
124 regions(ireg)%turb%tav(istat,:) = &
125 regions(ireg)%turb%tav(istat,:)/global%integrTime
subroutine registerfunction(global, funName, fileName)
subroutine fluid_prehdfoutput(globalGenx)
subroutine deregisterfunction(global)