gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
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 
)

Get internal index range for specified dimension

Parameters
[in]varVariable handle
[in]dimnoDimension number
[out]dimloLower bound of dimension
[out]dimhiUpper bound of dimension

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: