73 INTEGER,
INTENT(IN) :: allocmode
74 TYPE(t_region
),
POINTER :: pregion
80 CHARACTER(CHRLEN) :: rcsidentstring
81 INTEGER :: errorflag,ipatch
83 TYPE(t_grid),
POINTER :: pgrid
85 TYPE(t_patch),
POINTER :: ppatch
91 rcsidentstring =
'$RCSfile: RFLU_AllocateMemoryWrapper.F90,v $ $Revision: 1.4 $'
93 global => pregion%global
96 'RFLU_AllocateMemoryWrapper.F90')
98 IF ( global%myProcid == masterproc .AND. &
99 global%verbLevel > verbose_none )
THEN
100 WRITE(stdout,
'(A,1X,A)') solver_name,
'Allocating memory...'
115 pgrid => pregion%grid
116 pmixtinput => pregion%mixtInput
118 IF ( pmixtinput%moveGrid .EQV. .true. )
THEN
119 IF ( pgrid%nFaces > 0 )
THEN
120 ALLOCATE(pgrid%gs(pgrid%nFaces),stat=errorflag)
121 global%error = errorflag
122 IF (global%error /= err_none)
THEN
123 CALL
errorstop(global,err_allocate,__line__,
'pRegion%grid%gs')
126 pgrid%gs(:) = 0.0_rfreal
131 IF ( pregion%grid%nPatches > 0 )
THEN
132 DO ipatch = 1,pregion%grid%nPatches
133 ppatch => pregion%patches(ipatch)
135 IF ( ppatch%nBFaces > 0 )
THEN
136 ALLOCATE(ppatch%gs(ppatch%nBFaces),stat=errorflag)
137 global%error = errorflag
138 IF (global%error /= 0)
THEN
139 CALL
errorstop(global,err_allocate,__line__,
'pPatch%gs')
142 ppatch%gs(:) = 0.0_rfreal
154 IF ( global%myProcid == masterproc .AND. &
155 global%verbLevel > verbose_none )
THEN
156 WRITE(stdout,
'(A,1X,A)') solver_name,
'Allocating memory done.'
subroutine rflu_creategrid(pRegion)
subroutine rflu_allocatememory(pRegion)
subroutine rflu_allocatememorywrapper(pRegion)
subroutine registerfunction(global, funName, fileName)
subroutine, public rflu_createfacelist(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine, public rflu_createcellmapping(pRegion)
subroutine deregisterfunction(global)