Loading...
Searching...
No Matches
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 !
20 use gtool_history_internal, only: default
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)
Provides kind type parameter values.
Definition dc_types.f90:49
integer, parameter, public token
Character length for word, token
Definition dc_types.f90:109
integer, parameter, public string
Character length for string
Definition dc_types.f90:118
integer, parameter, public dp
Double Precision Real number
Definition dc_types.f90:83
type(gt_history), target, save default