Loading...
Searching...
No Matches
Functions/Subroutines
historyaxiscreate.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine historyaxiscreate1 (axis, name, size, longname, units, xtype)
 
subroutine historyaxiscreate2 (axis, name, size, longname, units, xtype)
 

Function/Subroutine Documentation

◆ historyaxiscreate1()

subroutine historyaxiscreate1 ( type(gt_history_axis), intent(out)  axis,
character(*), intent(in)  name,
integer, intent(in)  size,
character(*), intent(in)  longname,
character(*), intent(in)  units,
character(*), intent(in)  xtype 
)

Definition at line 10 of file historyaxiscreate.f90.

12 !
13 !== GT_HISTORY_AXIS 型変数作成
14 !
15 ! GT_HISTORY_AXIS 型変数を作成します。
16 ! このサブルーチンによる設定の後、
17 ! HistoryCreate の *axes* に与えます。
18 ! さらに属性を付加する場合には HistoryAxisAddAttr
19 ! を用いてください。
20 !
21 ! Constructor of GT_HISTORY_AXIS
22 !
23 use dc_types, only: string, token, dp
24 use dc_trace, only: beginsub, endsub, dbgmessage
26 use gtool_history_internal, only: default
27 implicit none
28 type(GT_HISTORY_AXIS),intent(out) :: axis
29 character(*) , intent(in):: name ! 次元変数名
30 integer, intent(in):: size ! 次元長 (配列サイズ)
31 character(*) , intent(in):: longname ! 次元変数の記述的名称
32 character(*) , intent(in):: units ! 次元変数の単位
33 character(*) , intent(in):: xtype ! 次元変数の型
34 character(len = *), parameter:: subname = "HistoryAxisCreate1"
35 continue
36 call beginsub(subname)
37 axis % name = name
38 axis % length = size
39 axis % longname = longname
40 axis % units = units
41 axis % xtype = xtype
42 call endsub(subname)
種別型パラメタを提供します。
Definition dc_types.f90:49
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
Definition dc_types.f90:109
integer, parameter, public dp
倍精度実数型変数
Definition dc_types.f90:83
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition dc_types.f90:118
type(gt_history), target, save default

References gtool_history_types::default, dc_types::dp, dc_types::string, and dc_types::token.

◆ historyaxiscreate2()

subroutine historyaxiscreate2 ( type(gt_history_axis), intent(out)  axis,
character(*), intent(in)  name,
integer, intent(in)  size,
character(*), intent(in)  longname,
character(*), intent(in)  units,
character(*), intent(in)  xtype 
)

Definition at line 45 of file historyaxiscreate.f90.

47 !
48 ! 使用方法は HistoryAxisCreate と同様です.
49 !
50 ! Usage is same as "HistoryAxisCreate".
51 !
52 !--
53 ! 総称名 Create として提供するためのサブルーチンです.
54 ! 機能は HistoryAxisCreate1 と同じです.
55 !++
56 use dc_types, only: string, token, dp
57 use dc_trace, only: beginsub, endsub, dbgmessage
59 use gtool_history_internal, only: default
60 implicit none
61 type(GT_HISTORY_AXIS),intent(out) :: axis
62 character(*) , intent(in):: name ! 次元変数名
63 integer, intent(in):: size ! 次元長 (配列サイズ)
64 character(*) , intent(in):: longname ! 次元変数の記述的名称
65 character(*) , intent(in):: units ! 次元変数の単位
66 character(*) , intent(in):: xtype ! 次元変数の型
67 character(len = *), parameter:: subname = "HistoryAxisCreate2"
68 continue
69 call beginsub(subname)
70 axis % name = name
71 axis % length = size
72 axis % longname = longname
73 axis % units = units
74 axis % xtype = xtype
75 call endsub(subname)

References gtool_history_types::default, dc_types::dp, dc_types::string, and dc_types::token.