historyaxisclear.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine historyaxisclear (axis)
 

Function/Subroutine Documentation

◆ historyaxisclear()

subroutine historyaxisclear ( type(gt_history_axis), intent(inout)  axis)

Definition at line 11 of file historyaxisclear.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.

Referenced by historyautoclose1().

11  !
12  !== GT_HISTORY_AXIS 型変数初期化
13  !
14  ! *axis* で与えられた変数を HistoryAxisCreate による初期設定よりも
15  ! さらに前の状態に初期化します。
16  !
17  ! Destructor of GT_HISTORY_AXIS
18  !
21  use dc_trace, only: beginsub, endsub, dbgmessage
22  use dc_types, only: string, token, dp
23  implicit none
24  type(gt_history_axis),intent(inout) :: axis
25  character(len = *), parameter:: subname = "HistoryAxisClear1"
26  call beginsub(subname)
27  axis % name = ""
28  axis % length = 0
29  axis % longname = ""
30  axis % units = ""
31  axis % xtype = ""
32  if (associated(axis % attrs)) then
33  deallocate(axis % attrs)
34  end if
35  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:
Here is the caller graph for this function: