39
40
41
42
43
44
45
46
47
48
49
50
51
52
56
57
58
59#include "implicit_f.inc"
60
61
62
63#include "lagmult.inc"
64
65
66
67
68 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
69
70
71
72
73 INTEGER I,NB_LAGMUL,SUB_ID,TAG_READ
74 LOGICAL IS_AVAILABLE
75
76 is_available = .false.
77
78
79 tag_read=0
80 lagmod = 1
81 lagopt = 1
82 lagm_tol = em11
83 lag_alph = fiveem4
84 lag_alphs= zero
85
88 DO i=1,nb_lagmul
90 IF(sub_id == 0) THEN
91 CALL hm_get_intv(
'LAGMUL_Lagmod',lagmod,is_available,lsubmodel)
92 CALL hm_get_intv(
'LAGMUL_Lagopt',lagopt,is_available,lsubmodel)
96 tag_read=1
97 EXIT
98 ENDIF
99 ENDDO
100
101 IF(tag_read == 1) THEN
102 IF(lagmod == 0) lagmod = 1
103 IF(lagm_tol == 0) lagm_tol = em11
104 IF(lag_alph == 0) lag_alph = em3
105 IF(lag_alphs == 0) lag_alphs = zero
106 ENDIF
107
108
109 RETURN
subroutine hm_get_floatv_without_uid(name, rval, is_available)
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)