Go to the source code of this file.
◆ gtvargetsliceall()
subroutine gtvargetsliceall |
( |
type(gt_variable), intent(in) |
var, |
|
|
integer, dimension(:), intent(out), optional |
start, |
|
|
integer, dimension(:), intent(out), optional |
count, |
|
|
integer, dimension(:), intent(out), optional |
stride |
|
) |
| |
Definition at line 16 of file gtvargetsliceall.f90.
References gtvargetslice().
35 integer,
intent(out),
optional:: start(:), count(:), stride(:)
39 all =
present(start) .and.
present(count) .and.
present(stride)
40 if (
present(start)) nd =
min(nd,
size(start))
41 if (
present(count)) nd =
min(nd,
size(count))
42 if (
present(stride)) nd =
min(nd,
size(stride))
48 if (
present(start))
call gtvargetslice(var, i, start=start(i))
49 if (
present(count))
call gtvargetslice(var, i, count=count(i))
50 if (
present(stride))
call gtvargetslice(var, i, stride=stride(i))
subroutine gtvargetslice(var, dimord, start, count, stride, count_compact)