65 TYPE(t_region
),
POINTER :: regions(:)
71 INTEGER,
PARAMETER :: nkeys_max = 20
73 CHARACTER(CHRLEN) :: rcsidentstring
74 CHARACTER(CHRLEN) :: keys(nkeys_max)
78 INTEGER :: nimplkeys,nnodekeys,nkeys
79 INTEGER :: ind,indmixt,indplag0
80 INTEGER :: ikeyused,ikeymodel,ikeynode0
81 INTEGER :: ikeymixtactv,ikeyplagactv,ikeymixtperm,ikeyplagperm
83 LOGICAL :: defined(nkeys_max)
85 REAL(RFREAL) :: vals(nkeys_max)
94 '$RCSfile: INRT_ReadHeatTransferNonBurn.F90,v $ $Revision: 1.3 $'
96 global => regions(1)%global
99 'INRT_ReadHeatTransferNonBurn.F90' )
109 keys(ikeyused) =
'USED'
110 keys(ikeymodel) =
'MODEL'
114 ikeynode0 = nimplkeys
115 ikeymixtactv = ikeynode0 + 1
116 ikeyplagactv = ikeynode0 + 2
117 ikeymixtperm = ikeynode0 + 3
118 ikeyplagperm = ikeynode0 + 4
121 keys(ikeymixtactv) =
'MIXT_ACTV'
122 keys(ikeyplagactv) =
'PLAG_ACTV'
123 keys(ikeymixtperm) =
'MIXT_PERM'
124 keys(ikeyplagperm) =
'PLAG_PERM'
126 nkeys = ikeynode0 + nnodekeys
128 IF (nkeys > nkeys_max) CALL
errorstop( global,err_exceeds_decl_mem,__line__ )
136 CALL
readsection( global,if_input,nkeys,keys,vals,defined )
137 brbeg = lbound(regions,1)
138 brend = ubound(regions,1)
143 input => regions(ireg)%inrtInput
144 inrt =>
input%inrts(inrt_type_htransnb)
148 IF (.NOT.
input%defaultRead) &
149 CALL
errorstop( global,err_inrt_defunread,__line__ )
151 IF (inrt%used) CALL
errorstop( global,err_inrt_read,__line__ )
157 indmixt =
input%indMixt
158 indplag0 =
input%indPlag0
164 IF (defined(ikeyused))
THEN
165 IF (nint(vals(ikeyused)) == 0) inrt%used = .false.
168 IF (nplag < 1) inrt%used = .false.
170 IF (.NOT. inrt%used) cycle
178 inrt%switches(inrt_swi_htransnb_model) = inrt_htransnb_model_default
180 IF (defined(ikeymodel))
THEN
182 SELECT CASE (nint(vals(ikeymodel)))
185 inrt%switches(inrt_swi_htransnb_model) = inrt_htransnb_model_stokes
188 inrt%switches(inrt_swi_htransnb_model) = inrt_htransnb_model_rm
191 CALL
errorstop( global,err_inrt_badswitch,__line__ )
199 IF (defined(ikeymixtactv)) &
201 inrt%activeness(indmixt))
203 IF (defined(ikeymixtperm)) &
205 inrt%permission(indmixt))
211 ind = indplag0 + iplag
213 IF (defined(ikeyplagactv)) &
215 inrt%activeness(ind))
217 IF (defined(ikeyplagperm)) &
219 inrt%permission(ind))
subroutine registerfunction(global, funName, fileName)
subroutine inrt_determinetokens(region, inrt)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE brbeg
subroutine inrt_defineheattransfernonburn(region)
subroutine input(X, NNODE, NDC, NCELL, NFCE, NBPTS, NBFACE, ITYP, NPROP, XBNDY, XFAR, YFAR, ZFAR)
subroutine inrt_setactiveness(global, val, actv)
subroutine readsection(global, fileID, nvals, keys, vals, defined)
subroutine inrt_readheattransfernonburn(regions)
subroutine readregionsection(global, fileID, nvals, keys, vals, brbeg, brend, defined)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine inrt_setpermission(global, val, perm)