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

Fortran 77 compatible interface for gtool_history HistoryAddVariable . More...

Go to the source code of this file.

Functions/Subroutines

subroutine hsavar (vname, idim, dims, lname, unit, xtype)

Detailed Description

Fortran 77 compatible interface for gtool_history HistoryAddVariable

.

Author
Shin-ichi TAKEHIRO, Yasuhiro MORIKAWA

Definition in file hsavar.f90.

Function/Subroutine Documentation

◆ hsavar()

subroutine hsavar ( character(len=*), intent(in) vname,
integer, intent(in) idim,
character(len=*), dimension(idim), intent(in) dims,
character(len=*), intent(in) lname,
character(len=*), intent(in) unit,
character(len=*), intent(in) xtype )

Define a variable.

Definition at line 23 of file hsavar.f90.

24 !
26 character(len=*),intent(in) :: vname ! 変数名
27 integer,intent(in) :: idim ! 定義する変数の次元の大きさ
28 character(len=*),dimension(idim),intent(in) :: dims ! 次元
29 character(len=*),intent(in) :: lname ! 長い名前
30 character(len=*),intent(in) :: unit ! 単位
31 character(len=*),intent(in) :: xtype ! 定義する変数のタイプ
32
33 call historyaddvariable(varname=vname, dims=dims, &
34 & longname=lname, units=unit, xtype=xtype)
35