Gtool Project
地球流体電脳倶楽部
dcmodel プロジェクト
SIGEN
English
Main Page
Namespaces
Classes
Loading...
Searching...
No Matches
gtool
gtool_history
historyaxiscreate.f90
Go to the documentation of this file.
1
!= GT_HISTORY_AXIS 変数の作成
2
!= Constructor of GT_HISTORY_AXIS
3
!
4
! Authors:: Yasuhiro MORIKAWA
5
! Version:: $Id: historyaxiscreate.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
historyaxiscreate1
( axis, &
11
& name, size, longname, units, xtype)
12
!
13
!== GT_HISTORY_AXIS 型変数作成
14
!
15
! GT_HISTORY_AXIS 型変数を作成します。
16
! このサブルーチンによる設定の後、
17
! HistoryCreate の *axes* に与えます。
18
! さらに属性を付加する場合には HistoryAxisAddAttr
19
! を用いてください。
20
!
21
! Constructor of GT_HISTORY_AXIS
22
!
23
use
dc_types
,
only
:
string
,
token
,
dp
24
use
dc_trace,
only
: beginsub, endsub, dbgmessage
25
use
gtool_history_types
,
only
:
gt_history
,
gt_history_axis
,
gt_history_varinfo
,
gt_history_attr
26
use
gtool_history_internal,
only
:
default
27
implicit none
28
type
(
gt_history_axis
),
intent(out)
:: axis
29
character(*)
,
intent(in)
:: name
! 次元変数名
30
integer
,
intent(in)
:: size
! 次元長 (配列サイズ)
31
character(*)
,
intent(in)
:: longname
! 次元変数の記述的名称
32
character(*)
,
intent(in)
:: units
! 次元変数の単位
33
character(*)
,
intent(in)
:: xtype
! 次元変数の型
34
character(len = *)
,
parameter
:: subname =
"HistoryAxisCreate1"
35
continue
36
call
beginsub(subname)
37
axis % name = name
38
axis % length =
size
39
axis % longname = longname
40
axis % units = units
41
axis % xtype = xtype
42
call
endsub(subname)
43
end subroutine
historyaxiscreate1
44
45
subroutine
historyaxiscreate2
( axis, &
46
& name, size, longname, units, xtype)
47
!
48
! 使用方法は HistoryAxisCreate と同様です.
49
!
50
! Usage is same as "HistoryAxisCreate".
51
!
52
!--
53
! 総称名 Create として提供するためのサブルーチンです.
54
! 機能は HistoryAxisCreate1 と同じです.
55
!++
56
use
dc_types
,
only
:
string
,
token
,
dp
57
use
dc_trace,
only
: beginsub, endsub, dbgmessage
58
use
gtool_history_types
,
only
:
gt_history
,
gt_history_axis
,
gt_history_varinfo
,
gt_history_attr
59
use
gtool_history_internal,
only
:
default
60
implicit none
61
type
(
gt_history_axis
),
intent(out)
:: axis
62
character(*)
,
intent(in)
:: name
! 次元変数名
63
integer
,
intent(in)
:: size
! 次元長 (配列サイズ)
64
character(*)
,
intent(in)
:: longname
! 次元変数の記述的名称
65
character(*)
,
intent(in)
:: units
! 次元変数の単位
66
character(*)
,
intent(in)
:: xtype
! 次元変数の型
67
character(len = *)
,
parameter
:: subname =
"HistoryAxisCreate2"
68
continue
69
call
beginsub(subname)
70
axis % name = name
71
axis % length =
size
72
axis % longname = longname
73
axis % units = units
74
axis % xtype = xtype
75
call
endsub(subname)
76
end subroutine
historyaxiscreate2
historyaxiscreate1
subroutine historyaxiscreate1(axis, name, size, longname, units, xtype)
Definition
historyaxiscreate.f90:12
historyaxiscreate2
subroutine historyaxiscreate2(axis, name, size, longname, units, xtype)
Definition
historyaxiscreate.f90:47
dc_types
種別型パラメタを提供します。
Definition
dc_types.f90:49
dc_types::token
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
Definition
dc_types.f90:109
dc_types::dp
integer, parameter, public dp
倍精度実数型変数
Definition
dc_types.f90:83
dc_types::string
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition
dc_types.f90:118
gtool_history_types
Definition
gtool_history_types.f90:12
gtool_history_types::default
type(gt_history), target, save default
Definition
gtool_history_types.f90:188
gtool_history_types::gt_history_attr
Definition
gtool_history_types.f90:245
gtool_history_types::gt_history_axis
Definition
gtool_history_types.f90:190
gtool_history_types::gt_history_varinfo
Definition
gtool_history_types.f90:216
gtool_history_types::gt_history
Definition
gtool_history_types.f90:42