gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gtdata_internal_map::dimrange Interface Reference

Public Member Functions

subroutine dimrange_by_dimno (var, dimno, dimlo, dimhi)
 

Detailed Description

Definition at line 132 of file gtdata_internal_map.f90.

Member Function/Subroutine Documentation

◆ dimrange_by_dimno()

subroutine gtdata_internal_map::dimrange::dimrange_by_dimno ( type(gt_variable), intent(in)  var,
integer, intent(in)  dimno,
integer, intent(out)  dimlo,
integer, intent(out)  dimhi 
)

指定された次元の内部的添字番号範囲を取得

Parameters
[in]var変数ハンドル
[in]dimno次元番号
[out]dimlo次元の下限
[out]dimhi次元の上限

Definition at line 155 of file gtdata_internal_map.f90.

156 use gtdata_types, only: gt_variable
157 use gtdata_generic, only: open, close
159 type(gt_variable), intent(in):: var
160 integer, intent(in):: dimno
161 integer, intent(out):: dimlo, dimhi
162 type(gt_variable):: dimvar
163 integer:: vid
164 call open(dimvar, var, dimno, count_compact=.true., &
165 & inherit_slice=.false.)
166 call map_lookup(dimvar, vid=vid)
167 call dimrange(vid, dimlo, dimhi)
168 call close(dimvar)

References gtdata_internal_map::map_lookup().

Here is the call graph for this function:

The documentation for this interface was generated from the following file: