42
43
44
52
53
54
55#include "implicit_f.inc"
56
57
58
59#include "units_c.inc"
60#include "scr17_c.inc"
61#include "scr03_c.inc"
62#include "scr15_c.inc"
63
64
65
66 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
67 CHARACTER (LEN=ncharline), INTENT(INOUT) ::
68
69
70
71 CHARACTER(LEN=NCHARLINE) ::
72 INTEGER LEN_TMP_NAME,J, I, LEN_
73 LOGICAL IS_AVAILABLE, IS_ENCRYPTED
74
75
76
77 is_encrypted = .false.
78 is_available = .false.
79
81 IF(irefsta == 0) RETURN
85
87 nitrs=0
90 CALL hm_get_intv(
'nitrs',nitrs,is_available,lsubmodel)
92
93 IF (nitrs == 0) nitrs=100
94 len_ = len_trim(xrfile)
95 IF(len_ > 0 )xrfile(len_+1:
ncharline) =
' '
96
97 IF (xrfile==' ') THEN
98 xrfile=rootnam(1:rootlen)//'RS0'
99 ELSE
100 j=0
102 IF(xrfile(i:i)/=' ')THEN
103 j=j+1
104 xrfile(j:j) = xrfile(i:i)
105 ENDIF
106 ENDDO
108 xrfile(i:i) = ' '
109 ENDDO
110 ENDIF
114 OPEN(unit=iin6,file=tmp_name(1:len_tmp_name),access='SEQUENTIAL',form='FORMATTED''OLD',err=111)
115
116
117 RETURN
118
119
120 111 CONTINUE
122 . msgtype=msgerror,
123 . anmode=aninfo,
124 . c1=xrfile)
125
126 RETURN
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_get_string(name, sval, size, is_available)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_is_encrypted(is_encrypted)
subroutine hm_option_start(entity_type)
character(len=infile_char_len) infile_name
integer, parameter ncharline
character(len=ncharline) refsta_filename
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)