35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
57
58
59
60#include "implicit_f.inc"
61
62
63
64
65 CHARACTER*(*),INTENT(IN)::NAME
66 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
67
68 INTEGER,INTENT(OUT)::IDMAX
69
70
71
72 INTEGER I,VALUE_TYPE,SUB_ID,NBOPTION,OPTION_ID,UNIT_ID,SUBMODEL_INDEX,
73 . S_KEYWORD,S_TITR,OFFSET_CATEGORY,MY_POSITION,
74 . OFF_EL,OFF_NOD,OFF_PART,OFF_MAT,OFF_PROP,OFF_DEF
75 CHARACTER(LEN=NCHARLINE) :: KEYWORD,TITR
76
77 offset_category = 0
78 value_type = 0
79 sub_id = 0
80 keyword=''
81 option_id = 0
82 unit_id = 0
83 submodel_index = 0
84 my_position = 0
85 idmax = 0
86
87
88
91
92
93
94 IF(nboption > 0)THEN
95 DO i=1,nboption
96 CALL cpp_option_read(option_id,unit_id,submodel_index,keyword,s_keyword,
97 . titr,s_titr,offset_category,my_position)
98 IF (option_id > idmax) idmax = option_id
99 ENDDO
100 ENDIF
101
102 RETURN
103
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)
integer, parameter ncharline