62 CHARACTER(CHRLEN) :: RCSIdentString = &
63 '$RCSfile: TURB_ModPostFlu.F90,v $ $Revision: 1.3 $'
99 TYPE(t_region
),
POINTER :: pregion
105 CHARACTER(CHRLEN) :: rcsidentstring
106 INTEGER :: npostv, ntv, nvars, errorflag
107 TYPE(t_grid),
POINTER :: pgrid
114 global => pregion%global
117 'TURB_ModPostFlu.F90')
124 ntv = pregion%mixtInput%nTv
125 nvars = pregion%turbInput%nOutField
126 pgrid => pregion%grid
137 ALLOCATE(pregion%turb%vort(1,pgrid%nCellsTot),stat=errorflag)
138 global%error = errorflag
139 IF (global%error /= err_none)
THEN
140 CALL
errorstop(global,err_allocate,__line__,
'pRegion%turb%vort')
145 ALLOCATE(pregion%turb%lens(pgrid%nCellsTot),stat=errorflag)
146 global%error = errorflag
147 IF (global%error /= err_none)
THEN
148 CALL
errorstop(global,err_allocate,__line__,
'pRegion%turb%lens')
158 pregion%turbInput%nPostv = npostv
160 ALLOCATE(pregion%turb%postv(npostv,pgrid%nCellsTot),stat=errorflag)
161 global%error = errorflag
162 IF (global%error /= err_none)
THEN
163 CALL
errorstop(global,err_allocate,__line__,
'pRegion%turb%postv')
203 TYPE(t_region
),
POINTER :: pregion
209 CHARACTER(CHRLEN) :: rcsidentstring
210 INTEGER :: nvars, errorflag
217 global => pregion%global
220 'TURB_ModPostFlu.F90')
226 nvars = pregion%turbInput%nOutField
237 DEALLOCATE(pregion%turb%vort,stat=errorflag)
238 global%error = errorflag
239 IF (global%error /= err_none)
THEN
240 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%turb%vort')
245 DEALLOCATE(pregion%turb%lens,stat=errorflag)
246 global%error = errorflag
247 IF (global%error /= err_none)
THEN
248 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%turb%lens')
256 DEALLOCATE(pregion%turb%postv,stat=errorflag)
257 global%error = errorflag
258 IF (global%error /= err_none)
THEN
259 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%turb%postv')
299 TYPE(t_region
),
POINTER :: pregion
305 CHARACTER(CHRLEN) :: rcsidentstring
306 INTEGER :: npostv, errorflag
307 TYPE(t_grid),
POINTER :: pgrid
314 global => pregion%global
317 'TURB_ModPostFlu.F90')
323 npostv = pregion%turbInput%nPostv
324 pgrid => pregion%grid
334 ALLOCATE(pregion%turb%postvVert(npostv,pgrid%nVertTot),stat=errorflag)
335 global%error = errorflag
336 IF (global%error /= err_none)
THEN
337 CALL
errorstop(global,err_allocate,__line__,
'pRegion%turb%postvVert')
377 TYPE(t_region
),
POINTER :: pregion
383 CHARACTER(CHRLEN) :: rcsidentstring
391 global => pregion%global
394 'TURB_ModPostFlu.F90')
408 DEALLOCATE(pregion%turb%postvVert,stat=errorflag)
409 global%error = errorflag
410 IF (global%error /= err_none)
THEN
411 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%turb%postvVert')
subroutine, public turb_rflu_allocmempostvert(pRegion)
subroutine registerfunction(global, funName, fileName)
subroutine, public turb_rflu_deallocmempostvert(pRegion)
subroutine, public turb_rflu_allocmempost(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine, public turb_rflu_deallocmempost(pRegion)