gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
Functions/Subroutines
historyaxisinquire.f90 File Reference

GT_HISTORY_AXIS 変数への問い合わせ . More...

Go to the source code of this file.

Functions/Subroutines

subroutine historyaxisinquire1 (axis, name, size, longname, units, xtype)
 
subroutine historyaxisinquire2 (axis, name, size, longname, units, xtype)
 

Detailed Description

GT_HISTORY_AXIS 変数への問い合わせ .

Author
Yasuhiro MORIKAWA

Definition in file historyaxisinquire.f90.

Function/Subroutine Documentation

◆ historyaxisinquire1()

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

GT_HISTORY_AXIS 型変数への問い合わせ

GT_HISTORY_AXIS 型の変数内の各情報を参照します。

Parameters
[in]axis座標軸情報
[out]name次元変数名 (省略可能)
[out]size次元長 (省略可能)
[out]longname次元変数の記述的名称 (省略可能)
[out]units次元変数の単位 (省略可能)
[out]xtype次元変数の型 (省略可能)

Definition at line 41 of file historyaxisinquire.f90.

43 !
44 use dc_trace, only: beginsub, endsub
46 implicit none
47 type(GT_HISTORY_AXIS),intent(in) :: axis
48 character(*) , intent(out), optional:: name ! 次元変数名
49 integer, intent(out), optional:: size ! 次元長 (配列サイズ)
50 character(*) , intent(out), optional:: longname ! 次元変数の記述的名称
51 character(*) , intent(out), optional:: units ! 次元変数の単位
52 character(*) , intent(out), optional:: xtype ! 次元変数の型
53 character(len = *), parameter:: subname = "HistoryAxisInquire1"
54 continue
55 call beginsub(subname)
56 if (present(name)) then
57 name = axis % name
58 end if
59 if (present(size)) then
60 size = axis % length
61 end if
62 if (present(longname)) then
63 longname = axis % longname
64 end if
65 if (present(units)) then
66 units = axis % units
67 end if
68 if (present(xtype)) then
69 xtype = axis % xtype
70 end if
71 call endsub(subname)
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
Definition dc_trace.f90:476
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
Definition dc_trace.f90:599

References dc_trace::beginsub(), and dc_trace::endsub().

Here is the call graph for this function:

◆ historyaxisinquire2()

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

GT_HISTORY_AXIS 型変数への問い合わせ (総称インターフェース)

使用方法は HistoryAxisInquire と同様です。

Definition at line 86 of file historyaxisinquire.f90.

88 use dc_trace, only: beginsub, endsub
91 implicit none
92 type(GT_HISTORY_AXIS),intent(in) :: axis
93 character(*) , intent(out), optional:: name ! 次元変数名
94 integer, intent(out), optional:: size ! 次元長 (配列サイズ)
95 character(*) , intent(out), optional:: longname ! 次元変数の記述的名称
96 character(*) , intent(out), optional:: units ! 次元変数の単位
97 character(*) , intent(out), optional:: xtype ! 次元変数の型
98 character(len = *), parameter:: subname = "HistoryAxisInquire2"
99 continue
100 call beginsub(subname)
101 call historyaxisinquire( axis, &
102 & name, size, longname, units, xtype)
103 call endsub(subname)

References dc_trace::beginsub(), and dc_trace::endsub().

Here is the call graph for this function: