gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
historyaxisclear.f90
Go to the documentation of this file.
1!> @file historyaxisclear.f90
2!>
3!> @author Yasuhiro MORIKAWA
4!> @copyright Copyright (C) GFD Dennou Club, 2000-2026. All rights reserved. <br/>
5!> License is BSD-2-Clause. See [COPYRIGHT](@ref COPYRIGHT) in detail
6!>
7!> @en
8!> @brief Destructor of GT_HISTORY_AXIS
9!> @enden
10!>
11!> @ja
12!> @brief GT_HISTORY_AXIS 変数のクリア
13!> @endja
14
15!>
16!> @en
17!> @brief Clear GT_HISTORY_AXIS variable
18!>
19!> Initializes the variable axis to the state before
20!> HistoryAxisCreate initialization.
21!> @param[inout] axis Axis information
22!> @enden
23!>
24!> @ja
25!> @brief GT_HISTORY_AXIS 型変数初期化
26!>
27!> axis で与えられた変数を HistoryAxisCreate による初期設定よりも
28!> さらに前の状態に初期化します。
29!> @param[inout] axis 座標軸情報
30!> @endja
31!>
32 subroutine historyaxisclear(axis)
34 use dc_trace, only: beginsub, endsub
35 implicit none
36 type(gt_history_axis),intent(inout) :: axis
37 character(len = *), parameter:: subname = "HistoryAxisClear1"
38 call beginsub(subname)
39 axis % name = ""
40 axis % length = 0
41 axis % longname = ""
42 axis % units = ""
43 axis % xtype = ""
44 if (associated(axis % attrs)) then
45 deallocate(axis % attrs)
46 end if
47 call endsub(subname)
48 end subroutine historyaxisclear
subroutine historyaxisclear(axis)
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
Definition dc_trace.f90:457
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
Definition dc_trace.f90:580