Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(2) | :: | sizes |
block size |
|
real(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
real(kind=real_8), | intent(out), | DIMENSION(:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(3) | :: | sizes |
block size |
|
real(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
real(kind=real_8), | intent(out), | DIMENSION(:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(4) | :: | sizes |
block size |
|
real(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
real(kind=real_8), | intent(out), | DIMENSION(:,:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(2) | :: | sizes |
block size |
|
real(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
real(kind=real_4), | intent(out), | DIMENSION(:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(3) | :: | sizes |
block size |
|
real(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
real(kind=real_4), | intent(out), | DIMENSION(:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(4) | :: | sizes |
block size |
|
real(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
real(kind=real_4), | intent(out), | DIMENSION(:,:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(2) | :: | sizes |
block size |
|
complex(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
complex(kind=real_8), | intent(out), | DIMENSION(:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(3) | :: | sizes |
block size |
|
complex(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
complex(kind=real_8), | intent(out), | DIMENSION(:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(4) | :: | sizes |
block size |
|
complex(kind=real_8), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
complex(kind=real_8), | intent(out), | DIMENSION(:,:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(2) | :: | sizes |
block size |
|
complex(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(2) | :: | ind |
block index |
|
complex(kind=real_4), | intent(out), | DIMENSION(:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(3) | :: | sizes |
block size |
|
complex(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(3) | :: | ind |
block index |
|
complex(kind=real_4), | intent(out), | DIMENSION(:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Template for dbcsr_t_get_block.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
integer, | intent(in), | DIMENSION(4) | :: | sizes |
block size |
|
complex(kind=real_4), | intent(out), | DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)) | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
allocate and get block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(4) | :: | ind |
block index |
|
complex(kind=real_4), | intent(out), | DIMENSION(:,:,:,:), ALLOCATABLE | :: | block |
block to get |
|
logical, | intent(out) | :: | found |
whether block was found |
Generic implementation of dbcsr_t_get_block (arbitrary tensor rank and arbitrary datatype)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
integer, | intent(in), | DIMENSION(ndims_tensor(tensor)) | :: | ind |
block index |
|
type(block_nd), | intent(out) | :: | block |
block to get |
||
logical, | intent(out) | :: | found |
whether block was found |