70 TYPE(t_region
),
POINTER :: pregion
76 CHARACTER(CHRLEN) :: bcname,rcsidentstring
77 CHARACTER(10),
DIMENSION(:),
ALLOCATABLE :: keys
78 CHARACTER(256) :: filename
79 LOGICAL,
DIMENSION(:),
ALLOCATABLE :: defined
80 INTEGER :: checksum,distrib,errorflag,ikey,ipatch,ipatchbeg,ipatchend, &
82 REAL(RFREAL),
DIMENSION(:),
ALLOCATABLE :: vals
84 TYPE(t_patch),
POINTER :: ppatch
91 rcsidentstring =
'$RCSfile: SPEC_RFLU_ReadBcSectionDummy.F90,v $ $Revision: 1.5 $'
93 global => pregion%global
96 'SPEC_RFLU_ReadBcSectionDummy.F90')
102 nkeys = pregion%specInput%nSpecies + 1
104 ALLOCATE(keys(nkeys),stat=errorflag)
105 global%error = errorflag
106 IF ( global%error /= err_none )
THEN
107 CALL
errorstop(global,err_allocate,__line__,
'keys')
110 ALLOCATE(vals(nkeys),stat=errorflag)
111 global%error = errorflag
112 IF ( global%error /= err_none )
THEN
113 CALL
errorstop(global,err_allocate,__line__,
'vals')
116 ALLOCATE(defined(nkeys),stat=errorflag)
117 global%error = errorflag
118 IF ( global%error /= err_none )
THEN
119 CALL
errorstop(global,err_allocate,__line__,
'defined')
134 CALL
readpatchsection(global,if_input,nkeys,keys,vals,ipatchbeg,ipatchend, &
135 distrib,filename,bcname,defined)
141 IF ( ipatchend > global%nPatches )
THEN
142 CALL
errorstop(global,err_patch_range,__line__)
149 DO ipatch = 1,pregion%grid%nPatches
150 ppatch => pregion%patches(ipatch)
156 IF ( ppatch%iPatchGlobal >= ipatchbeg .AND. &
157 ppatch%iPatchGlobal <= ipatchend )
THEN
158 ppatch%spec%nData = 0
159 ppatch%spec%nSwitches = 0
160 ppatch%spec%distrib = bcdat_constant
168 DEALLOCATE(keys,stat=errorflag)
169 global%error = errorflag
170 IF ( global%error /= err_none )
THEN
171 CALL
errorstop(global,err_deallocate,__line__,
'keys')
174 DEALLOCATE(vals,stat=errorflag)
175 global%error = errorflag
176 IF ( global%error /= err_none )
THEN
177 CALL
errorstop(global,err_deallocate,__line__,
'vals')
180 DEALLOCATE(defined,stat=errorflag)
181 global%error = errorflag
182 IF ( global%error /= err_none )
THEN
183 CALL
errorstop(global,err_deallocate,__line__,
'defined')
subroutine makenumberedkeys(keys, indBegin, string, numBegin, numEnd, numSkip)
subroutine registerfunction(global, funName, fileName)
subroutine readpatchsection(global, fileID, nvals, keys, vals, brbeg, brend, prbeg, prend, distrib, profType, fname, defined)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine spec_rflu_readbcsectiondummy(pRegion)