Loading...
Searching...
No Matches
gtvargetxtype.f90
Go to the documentation of this file.
1! Copyright (C) GFD Dennou Club, 2000. All rights reserved.
2
3! 外部型表現が存在する処理系に関しては型を示す文字列を、
4! そうでない処理系に関しては空文字列を返す。
5
6subroutine gtvargetxtype(var, xtype)
8 use dc_string, only: vstring
9 use gtdata_generic, only: get_attr
10 implicit none
11 type(gt_variable), intent(in):: var
12 type(vstring), intent(out):: xtype
13 call get_attr(var, "__xtype__", xtype, default="")
14end subroutine
subroutine gtvargetxtype(var, xtype)