11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
36 use dc_trace, only: beginsub, endsub
37 use dc_string, only: putline, printf, split, strinclude, stoa, joinchar
41 use dc_message, only: messagenotify
42 implicit none
43 type(GTHST_NMLINFO), intent(inout):: gthstnml
44 logical, intent(out), optional:: err
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62 integer:: stat
63 character(STRING):: cause_c
64 character(*), parameter:: subname = 'HstNmlInfoReDefine'
65 continue
66 call beginsub( subname )
68 cause_c = ''
69
70
71
72
73
74 if ( .not. gthstnml % initialized ) then
76 cause_c = 'GTHST_NMLINFO'
77 goto 999
78 end if
79
80 if ( gthstnml % define_mode ) then
82 cause_c = 'ReDefine'
83 goto 999
84 end if
85
86
87
88
89
90 gthstnml % define_mode = .true.
91
92
93
94
95
96999 continue
98 call endsub( subname )
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_enotinit
integer, parameter, public hst_eintfile
integer, parameter, public dc_noerr
integer, parameter, public hst_eindefine
integer, parameter, public hst_enotindefine
Provides kind type parameter values.
integer, parameter, public token
Character length for word, token
integer, parameter, public string
Character length for string
integer, parameter, public stdout
Unit number for Standard OUTPUT
integer, parameter, public dp
Double Precision Real number