Loading...
Searching...
No Matches
Functions/Subroutines
gtvarequivalent.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

logical function gtvarequivalent (var1, var2)
 

Function/Subroutine Documentation

◆ gtvarequivalent()

logical function gtvarequivalent ( type(gt_variable), intent(in)  var1,
type(gt_variable), intent(in)  var2 
)

Definition at line 13 of file gtvarequivalent.f90.

14 !
15 !== GT_VARIABLE 型変数の同値判定
16 !
17 ! 変数 <b>var1</b>, <b>var2</b> を比較し、同値である場合は .true. を、
18 ! そうで無い場合は .false. を返します。
19 !
20 use gtdata_types, only: gt_variable
22 type(GT_VARIABLE), intent(in):: var1, var2
23 integer:: class1, class2, cid1, cid2
24continue
25 call var_class(var1, class1, cid1)
26 call var_class(var2, class2, cid2)
27 result = (class1 == class2) .and. (cid1 == cid2)
subroutine, public var_class(var, class, cid)

References gtdata_internal_map::var_class().

Here is the call graph for this function: