historyaxisclear.f90
Go to the documentation of this file.
1 != GT_HISTORY_AXIS 変数のクリア
2 != Destructor of GT_HISTORY_AXIS
3 !
4 ! Authors:: Yasuhiro MORIKAWA
5 ! Version:: $Id: historyaxisclear.f90,v 1.2 2009-05-25 09:45:20 morikawa Exp $
6 ! Tag Name:: $Name: $
7 ! Copyright:: Copyright (C) GFD Dennou Club, 2000-2009. All rights reserved.
8 ! License:: See COPYRIGHT[link:../../../COPYRIGHT]
9 !
10  subroutine historyaxisclear(axis)
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)
36  end subroutine historyaxisclear
subroutine historyaxisclear(axis)
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