gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
historyaxisinquire.f90
Go to the documentation of this file.
1
14
41 subroutine historyaxisinquire1( axis, &
42 & name, size, longname, units, xtype )
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)
72 end subroutine historyaxisinquire1
73
74 !-------------------------------------------------------------------
75
86 subroutine historyaxisinquire2( axis, &
87 & name, size, longname, units, xtype)
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)
104 end subroutine historyaxisinquire2
subroutine historyaxisinquire2(axis, name, size, longname, units, xtype)
subroutine historyaxisinquire1(axis, name, size, longname, units, xtype)
Debug tracing module.
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