Loading...
Searching...
No Matches
gtool_history_nmlinfo_types.f90
Go to the documentation of this file.
1!= gtool_history_nmlinfo から提供される構造データ型
2!= Derived data type of "gtool_history_nmlinfo"
3!
4! Authors:: Yasuhiro MORIKAWA
5! Version:: $Id: gtool_history_nmlinfo_types.f90,v 1.3 2009-06-01 15:17:18 morikawa Exp $
6! Tag Name:: $Name: $
7! Copyright:: Copyright (C) GFD Dennou Club, 2007-2009. All rights reserved.
8! License:: See COPYRIGHT[link:../../../COPYRIGHT]
9!
10
12 !
13 != gtool_history_nmlinfo から提供される構造データ型
14 != Derived data type of "gtool_history_nmlinfo"
15 !
16 ! <b>Note that Japanese and English are described in parallel.</b>
17 !
18 ! モジュールの概要については, gtool_history_nmlinfo
19 ! を参照ください.
20 !
21 ! See "gtool_history_nmlinfo" for brief of this module.
22 !
23 !== Derived types List
24 !
25 ! GTHST_NMLINFO :: NAMELIST から入力した情報を収めた構造データ型.
26 ! 利用者への提供用.
27 ! GTHST_NMLINFO_ENTRY :: GTHST_NMLINFO 内での個々の変数のためのエントリ.
28 ! 内部用 (利用者は直接参照しない).
29 ! ------------ :: ------------
30 ! GTHST_NMLINFO :: Derived type that stores information input from NAMELIST.
31 ! This derived type is provided for users.
32 ! GTHST_NMLINFO_ENTRY :: Entry for individual variable in "GTHST_NMLINFO".
33 ! This is used internally.
34 ! (Users do not refer this derived type).
35 !
36
37 use gtool_history, only: gt_history
38 use dc_types, only: token, string
39 implicit none
41
43 !
44 ! NAMELIST から取得したヒストリデータの出力情報
45 ! を格納するための構造データ型です.
46 ! まず, gtool_history_nmlinfo_generic#HstNmlInfoCreate
47 ! で "GTHST_NMLINFO" 型の変数を初期設定して下さい.
48 ! 初期設定された "GTHST_NMLINFO" 型の変数を再度利用する際には,
49 ! gtool_history_nmlinfo_generic#HstNmlInfoClose
50 ! によって終了処理を行ってください.
51 !
52 ! This derived type is worked in order to store information about
53 ! data output from NAMELIST.
54 ! Initialize "GTHST_NMLINFO" variable by
55 ! "gtool_history_nmlinfo_generic#HstNmlInfoCreate" before usage.
56 ! If you reuse "GTHST_NMLINFO" variable again for another application,
57 ! terminate by "gtool_history_nmlinfo_generic#HstNmlInfoClose".
58 !
59 logical:: initialized = .false.
60 ! 初期設定フラグ.
61 ! Initialization flag
62 logical:: define_mode = .true.
63 ! 定義状態を表すフラグ.
64 ! Flag that represents define mode
65 type(gthst_nmlinfo_entry), pointer:: gthstnml_list =>null()
66 ! 変数ごとの情報リスト.
67 ! 格納される情報については
68 ! GTHST_NMLINFO_ENTRY を参照のこと.
69 !
70 ! Information list about individual variable
71 ! See "GTHST_NMLINFO_ENTRY"
72 ! about stored information.
73 end type gthst_nmlinfo
74
76 !
77 ! 出力変数ごとの情報を格納するための構造体です.
78 ! この構造体はモジュール内で使用されることを想定しているため,
79 ! モジュール外部からは使用しないでください.
80 !
81 ! Information about individual output variable is stored in
82 ! this derived type.
83 ! It is expected that this derived type is used
84 ! internally, so do not refer from the outside.
85 !
86 character(TOKEN):: name
87 ! 変数名. Variable identifier
88 character(STRING):: file
89 ! ヒストリデータのファイル名.
90 ! History data filenames
91 real, pointer:: interval_value =>null()
92 ! ヒストリデータの出力間隔の数値.
93 ! 負の値を与えると, 出力を抑止します.
94 !
95 ! Numerical value for interval of history data output.
96 ! Negative values suppresses output.
97 character(TOKEN), pointer:: interval_unit =>null()
98 ! ヒストリデータの出力間隔の単位.
99 ! Unit for interval of history data output
100 character(TOKEN), pointer:: precision =>null()
101 ! ヒストリデータの精度.
102 ! Precision of history data
103 logical, pointer:: time_average =>null()
104 ! 出力データの時間平均化フラグ.
105 ! Flag for time average of output data.
106 character(STRING), pointer:: fileprefix =>null()
107 ! ヒストリデータのファイル名の接頭詞.
108 ! Prefixes of history data filenames
109
110 real, pointer:: origin_value =>null()
111 ! 出力開始時刻.
112 ! Start time of output.
113 character(TOKEN), pointer:: origin_unit =>null()
114 ! 出力開始時刻の単位.
115 ! Unit of start time of output.
116 real, pointer:: terminus_value =>null()
117 ! 出力終了時刻.
118 ! End time of output.
119 character(TOKEN), pointer:: terminus_unit =>null()
120 ! 出力終了時刻の単位.
121 ! Unit of end time of output.
122 integer, pointer:: slice_start(:) =>null()
123 ! 空間方向の開始点.
124 ! Start points of spaces.
125 integer, pointer:: slice_end(:) =>null()
126 ! 空間方向の終了点.
127 ! End points of spaces.
128 integer, pointer:: slice_stride(:) =>null()
129 ! 空間方向の刻み幅.
130 ! Strides of spaces.
131 logical, pointer:: space_average(:) =>null()
132 ! 平均化のフラグ.
133 ! Flag of average.
134 integer, pointer:: newfile_intvalue =>null()
135 ! ファイル分割時間間隔.
136 ! Interval of time of separation of a file.
137 character(TOKEN), pointer:: newfile_intunit =>null()
138 ! ファイル分割時間間隔の単位.
139 ! Unit of interval of time of separation of a file.
140
141 logical:: output_step_disable = .false.
142 ! output_step 無効化フラグ.
143 ! "output_step" disable flag
144 logical:: name_invalid = .true.
145 ! 無効な変数名を検知するためのフラグ.
146 ! A flag for detection of invalid variable names
147 type(gt_history), pointer:: history =>null()
148 ! gtool_history モジュール用構造体.
149 ! Derived type for "gtool_history" module
150 type(gthst_nmlinfo_entry), pointer:: next =>null()
151 ! リスト構造のための変数.
152 ! A variable for a list structure
153 end type gthst_nmlinfo_entry
154
Provides kind type parameter values.
Definition dc_types.f90:49
integer, parameter, public token
Character length for word, token
Definition dc_types.f90:109
integer, parameter, public string
Character length for string
Definition dc_types.f90:118