67 TYPE(t_region
),
POINTER :: pregion
73 CHARACTER(CHRLEN) :: rcsidentstring
74 INTEGER :: errorflag,ipatch
75 TYPE(t_grid),
POINTER :: pgrid
77 TYPE(t_patch),
POINTER :: ppatch
84 rcsidentstring =
'$RCSfile: PLAG_RFLU_DeallocMemTStepTile.F90,v $ $Revision: 1.6 $'
86 global => pregion%global
89 'PLAG_RFLU_DeallocMemTStepTile.F90')
105 DO ipatch = 1,pgrid%nPatches
106 ppatch => pregion%patches(ipatch)
112 IF ( (ppatch%bcType >= bc_injection .AND. ppatch%bcType <= bc_injection + bc_range) .OR. &
113 (ppatch%bcType >= bc_inflow .AND. ppatch%bcType <= bc_inflow + bc_range) )
THEN
114 ptileplag => ppatch%tilePlag
116 DEALLOCATE(ptileplag%cvOld,stat=errorflag)
117 global%error = errorflag
118 IF (global%error /= err_none)
THEN
119 CALL
errorstop(global, err_deallocate,__line__,
'pTilePlag%cvOld')
122 DEALLOCATE(ptileplag%rhs,stat=errorflag)
123 global%error = errorflag
124 IF (global%error /= err_none)
THEN
125 CALL
errorstop(global,err_deallocate,__line__,
'pTilePlag%rhs')
128 DEALLOCATE(ptileplag%rhsSum,stat=errorflag)
129 global%error = errorflag
130 IF (global%error /= err_none)
THEN
131 CALL
errorstop(global,err_deallocate,__line__,
'pTilePlag%rhsSum')
134 DEALLOCATE(ptileplag%nPclsInjc,stat=errorflag)
135 global%error = errorflag
136 IF (global%error /= err_none)
THEN
137 CALL
errorstop(global,err_deallocate,__line__,
'pTilePlag%nPclsInjc')
subroutine registerfunction(global, funName, fileName)
subroutine plag_rflu_deallocmemtsteptile(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)