66 TYPE(t_region
),
DIMENSION(:),
POINTER :: regions
72 INTEGER,
PARAMETER :: nkeys = 2
74 CHARACTER(CHRLEN) :: keys(nkeys)
75 CHARACTER(CHRLEN) :: rcsidentstring
76 LOGICAL :: defined(nkeys),usedflag
78 REAL(RFREAL) :: vals(nkeys)
89 rcsidentstring =
'$RCSfile: SPEC_ReadSpecSection.F90,v $ $Revision: 1.5 $'
91 global => regions(1)%global
94 'SPEC_ReadSpecSection.F90')
104 CALL
readsection(regions(1)%global,if_input,nkeys,keys,vals,defined)
106 IF ( defined(1) .EQV. .true. )
THEN
107 usedflag = (nint(vals(1)) /= 0)
112 DO ireg = lbound(regions,1),ubound(regions,1)
113 regions(ireg)%specInput%usedFlag = usedflag
116 IF ( (defined(2) .EQV. .true.) .AND. (usedflag .EQV. .true.) )
THEN
117 DO ireg = lbound(regions,1),ubound(regions,1)
118 regions(ireg)%specInput%nSpecies = nint(vals(2))
119 regions(ireg)%global%nSpecies = regions(ireg)%specInput%nSpecies
subroutine registerfunction(global, funName, fileName)
subroutine readsection(global, fileID, nvals, keys, vals, defined)
subroutine spec_readspecsection(regions)
subroutine deregisterfunction(global)