gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
Functions/Subroutines
gtvarslicendims.f90 File Reference

スライス次元数の取得 (未実装) More...

Go to the source code of this file.

Functions/Subroutines

subroutine gtvarslicendims (var, ndims, shape, err)
 

Detailed Description

スライス次元数の取得 (未実装)

Definition in file gtvarslicendims.f90.

Function/Subroutine Documentation

◆ gtvarslicendims()

subroutine gtvarslicendims ( type(gt_variable), intent(inout)  var,
integer, intent(in)  ndims,
integer, dimension(:), intent(in), optional  shape,
logical, intent(out), optional  err 
)

スライス次元数の取得

Note
このサブルーチンは未実装です。
Parameters
[in,out]var変数ハンドル
[in]ndims次元数
[in]shape形状配列 (省略可能)
[out]errエラーフラグ (省略可能)

Definition at line 36 of file gtvarslicendims.f90.

37 use gtdata_types, only: gt_variable
39 implicit none
40 type(GT_VARIABLE), intent(inout):: var
41 integer, intent(in):: ndims
42 integer, intent(in), optional:: shape(:)
43 logical, intent(out), optional:: err
44 integer:: nd
45 integer, allocatable:: vcount(:)
46 if (ndims < 0) then
47 if (present(shape)) continue
48 end if
49 call inquire(var, alldims=nd)
50 allocate(vcount(nd))
51 call get_slice(var, count=vcount(:))
52 if (present(err)) err = .true.
53 stop 'gtvarslicendims: not implemented'