58 TYPE(t_region
),
POINTER :: regions(:)
61 INTEGER,
PARAMETER :: nkeys = 4
62 CHARACTER(10) :: keys(nkeys)
65 INTEGER ::
brbeg, brend
71 LOGICAL :: defined(nkeys)
73 REAL(RFREAL) :: vals(nkeys)
78 'ReadViscositySection.F90' )
91 IF (defined(1).eqv..true.) &
92 regions(
brbeg:brend)%mixtInput%viscModel = nint(vals(1))
94 IF (defined(2).eqv..true.)
THEN
95 regions(
brbeg:brend)%mixtInput%refVisc = abs(vals(2))
97 regions(
brbeg:brend)%mixtInput%refVisc = -1._rfreal
100 IF (defined(3).eqv..true.) &
101 regions(
brbeg:brend)%mixtInput%refTemp = abs(vals(3))
103 IF (defined(4).eqv..true.) &
104 regions(
brbeg:brend)%mixtInput%suthCoef = abs(vals(4))
108 CALL
readsection( regions(1)%global,if_input,nkeys,keys,vals,defined )
110 IF ( defined(1) .EQV. .true. )
THEN
111 DO ireg = lbound(regions,1),ubound(regions,1)
112 regions(ireg)%mixtInput%viscModel = nint(vals(1))
116 IF ( defined(2) .EQV. .true. )
THEN
117 DO ireg = lbound(regions,1),ubound(regions,1)
118 regions(ireg)%mixtInput%refVisc = abs(vals(2))
121 DO ireg = lbound(regions,1),ubound(regions,1)
122 regions(ireg)%mixtInput%refVisc =
REAL(crazy_value_int,rfreal)
126 IF ( defined(3) .EQV. .true. )
THEN
127 DO ireg = lbound(regions,1),ubound(regions,1)
128 regions(ireg)%mixtInput%refTemp = abs(vals(3))
132 IF ( defined(4) .EQV. .true. )
THEN
133 DO ireg = lbound(regions,1),ubound(regions,1)
134 regions(ireg)%mixtInput%suthCoef = abs(vals(4))
subroutine registerfunction(global, funName, fileName)
**********************************************************************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 readsection(global, fileID, nvals, keys, vals, defined)
subroutine readregionsection(global, fileID, nvals, keys, vals, brbeg, brend, defined)
subroutine readviscositysection(regions)
subroutine deregisterfunction(global)