75 TYPE(t_level
),
DIMENSION(:),
POINTER :: levels
76 TYPE(t_region
),
DIMENSION(:),
POINTER :: pregions
82 INTEGER :: errorflag,ilev,ireg,ireglow,iregupp
83 CHARACTER(CHRLEN) :: rcsidentstring
89 rcsidentstring =
'$RCSfile: RFLU_BuildDataStruct.F90,v $ $Revision: 1.8 $'
92 'RFLU_BuildDataStruct.F90')
94 IF ( global%myProcid == masterproc .AND. &
95 global%verbLevel >= verbose_high )
THEN
96 WRITE(stdout,
'(A,1X,A)') solver_name,
'Building data structure...'
99 ALLOCATE(levels(global%nLevels),stat=errorflag)
100 global%error = errorflag
101 IF ( global%error /= err_none )
THEN
102 CALL
errorstop(global,err_allocate,__line__,
'levels')
109 DO ilev = 1,global%nLevels
117 DO ilev = 1,global%nLevels
118 pregions => levels(ilev)%regions
120 DO ireg = lbound(pregions,1),ubound(pregions,1)
121 pregions(ireg)%pRegion => pregions(ireg)
122 pregions(ireg)%global => global
124 pregions(ireg)%postActiveFlag = .true.
132 IF ( global%myProcid == masterproc .AND. &
133 global%verbLevel >= verbose_high )
THEN
134 WRITE(stdout,
'(A,1X,A)') solver_name,
'Building data structure done.'
subroutine rflu_createregions(global, iLev, levels)
subroutine registerfunction(global, funName, fileName)
subroutine rflu_builddatastruct(global, levels)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)