historyaxisinquire.f90 File Reference

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)
 

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 
)

Definition at line 12 of file historyaxisinquire.f90.

References dc_trace::beginsub(), dc_trace::dbgmessage(), gtool_history_internal::default, dc_types::dp, dc_trace::endsub(), dc_types::string, and dc_types::token.

12  !
13  !== GT_HISTORY_AXIS 型変数への問い合わせ
14  !
15  ! GT_HISTORY_AXIS 型の変数内の各情報を参照します。
16  !
17  use dc_types, only: string, token, dp
18  use dc_trace, only: beginsub, endsub, dbgmessage
21  implicit none
22  type(gt_history_axis),intent(in) :: axis
23  character(*) , intent(out), optional:: name ! 次元変数名
24  integer, intent(out), optional:: size ! 次元長 (配列サイズ)
25  character(*) , intent(out), optional:: longname ! 次元変数の記述的名称
26  character(*) , intent(out), optional:: units ! 次元変数の単位
27  character(*) , intent(out), optional:: xtype ! 次元変数の型
28  character(len = *), parameter:: subname = "HistoryAxisInquire1"
29  continue
30  call beginsub(subname)
31  if (present(name)) then
32  name = axis % name
33  end if
34  if (present(size)) then
35  size = axis % length
36  end if
37  if (present(longname)) then
38  longname = axis % longname
39  end if
40  if (present(units)) then
41  units = axis % units
42  end if
43  if (present(xtype)) then
44  xtype = axis % xtype
45  end if
46  call endsub(subname)
type(gt_history), target, save, public default
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
Definition: dc_types.f90:109
integer, parameter, public dp
倍精度実数型変数
Definition: dc_types.f90:83
subroutine, public dbgmessage(fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:509
subroutine, public beginsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca, version)
Definition: dc_trace.f90:351
種別型パラメタを提供します。
Definition: dc_types.f90:49
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:446
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition: dc_types.f90:118
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 
)

Definition at line 53 of file historyaxisinquire.f90.

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

53  !
54  ! 使用方法は HistoryAxisInquire と同様です.
55  !
56  ! Usage is same as "HistoryAxisInquire".
57  !
58  !--
59  ! 総称名 Inquire として提供するためのサブルーチンです.
60  ! 機能は HistoryAxisInquire1 と同じです.
61  !++
62  !
63  use dc_trace, only: beginsub, endsub, dbgmessage
66  implicit none
67  type(gt_history_axis),intent(in) :: axis
68  character(*) , intent(out), optional:: name ! 次元変数名
69  integer, intent(out), optional:: size ! 次元長 (配列サイズ)
70  character(*) , intent(out), optional:: longname ! 次元変数の記述的名称
71  character(*) , intent(out), optional:: units ! 次元変数の単位
72  character(*) , intent(out), optional:: xtype ! 次元変数の型
73  character(len = *), parameter:: subname = "HistoryAxisInquire2"
74  continue
75  call beginsub(subname)
76  call historyaxisinquire( axis, &
77  & name, size, longname, units, xtype)
78  call endsub(subname)
subroutine, public dbgmessage(fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:509
subroutine, public beginsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca, version)
Definition: dc_trace.f90:351
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
Definition: dc_trace.f90:446
Here is the call graph for this function: