12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
31 use dc_string, only: putline, printf, split, strinclude, stoa, joinchar
32 use dc_present, only: present_and_not_empty, present_and_true
36 implicit none
37 type(GTHST_NMLINFO), intent(in):: gthstnml
38 character(*), intent(in):: name
39
40
41
42
43
44 type(DC_DIFFTIME), intent(in):: time
45
46
47
48
49
50 type(GTHST_NMLINFO_ENTRY), pointer:: hptr =>null()
51 type(DC_DIFFTIME):: interval_time
52
53 continue
54
55 result = .false.
56
57
58
59
60
61 if ( .not. gthstnml % initialized ) goto 999
62
63
64
65
66
67 hptr => gthstnml % gthstnml_list
69 & name = name )
70
71 if ( .not. associated( hptr ) ) goto 999
72 if ( hptr % output_step_disable ) goto 999
73
74
75
76
77
78 if ( .not. hptr % interval_value > 0.0 ) goto 999
79
81 & diff = interval_time, &
82 &
value = real( hptr % interval_value,
dp ), &
83 & unit = hptr % interval_unit )
84
85 if (
mod( time, interval_time ) == 0 )
then
86 result = .true.
87 end if
88
89
90
91
92
93999 continue
94 nullify( hptr )
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
integer, parameter, public stdout
標準出力の装置番号
integer, parameter, public dp
倍精度実数型変数