gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
gtvarslicendims.f90
Go to the documentation of this file.
1
14
36subroutine gtvarslicendims(var, ndims, shape, err)
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'
54end subroutine
subroutine gtvarslicendims(var, ndims, shape, err)