gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
Functions/Subroutines
historyaxisclear.f90 File Reference

Destructor of GT_HISTORY_AXIS . More...

Go to the source code of this file.

Functions/Subroutines

subroutine historyaxisclear (axis)
 

Detailed Description

Destructor of GT_HISTORY_AXIS

.

Author
Yasuhiro MORIKAWA

Definition in file historyaxisclear.f90.

Function/Subroutine Documentation

◆ historyaxisclear()

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

Clear GT_HISTORY_AXIS variable

Initializes the variable axis to the state before HistoryAxisCreate initialization.

Parameters
[in,out]axisAxis information

Definition at line 32 of file historyaxisclear.f90.

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)
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

References dc_trace::beginsub(), and dc_trace::endsub().

Here is the call graph for this function: