Toggle navigation
Gtool Project
地球流体電脳倶楽部
dcmodel プロジェクト
SIGEN
English
gtdata
gtvarslicendims.f90
Go to the documentation of this file.
1
subroutine
gtvarslicendims
(var, ndims, shape, err)
2
use
gtdata_types
, only
:
gt_variable
3
use
gtdata_generic
, only
:
inquire
,
get_slice
4
implicit none
5
type
(
gt_variable
),
intent(inout)
:: var
6
integer
,
intent(in)
:: ndims
7
integer
,
intent(in)
,
optional
:: shape(:)
8
logical
,
intent(out)
,
optional
:: err
9
integer
:: nd
10
integer
,
allocatable
:: vcount(:)
11
call
inquire
(var, alldims=nd)
12
allocate
(vcount(nd))
13
call
get_slice
(var, count=vcount(:))
14
if
(
present
(err)) err = .true.
15
stop
'gtvarslicendims: not implemented'
16
end subroutine
gtdata_types::gt_variable
Definition:
gtdata_types.f90:18
gtdata_generic::inquire
Definition:
gtdata_generic.f90:499
gtvarslicendims
subroutine gtvarslicendims(var, ndims, shape, err)
Definition:
gtvarslicendims.f90:2
gtdata_types
Definition:
gtdata_types.f90:11
gtdata_generic
Definition:
gtdata_generic.f90:37
gtdata_generic::get_slice
Definition:
gtdata_generic.f90:402