dbcsr_t_get_info Subroutine

public subroutine dbcsr_t_get_info(tensor, nblks_total, nfull_total, nblks_local, nfull_local, pdims, my_ploc, blks_local_1, blks_local_2, blks_local_3, blks_local_4, proc_dist_1, proc_dist_2, proc_dist_3, proc_dist_4, blk_size_1, blk_size_2, blk_size_3, blk_size_4, blk_offset_1, blk_offset_2, blk_offset_3, blk_offset_4, distribution, name, data_type)

As dbcsr_get_info but for tensors

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(in) :: tensor
integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: nblks_total

number of blocks along each dimension

integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: nfull_total

number of elements along each dimension

integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: nblks_local

local number of blocks along each dimension

integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: nfull_local

local number of elements along each dimension

integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: pdims

process grid dimensions

integer, intent(out), optional, DIMENSION(ndims_tensor(tensor)) :: my_ploc

process coordinates in process grid

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_local(tensor, 1)) :: blks_local_1

local blocks along dimension 1

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_local(tensor, 2)) :: blks_local_2

local blocks along dimension 2

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_local(tensor, 3)) :: blks_local_3

local blocks along dimension 3

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_local(tensor, 4)) :: blks_local_4

local blocks along dimension 4

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 1)) :: proc_dist_1

distribution along dimension 1

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 2)) :: proc_dist_2

distribution along dimension 2

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 3)) :: proc_dist_3

distribution along dimension 3

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 4)) :: proc_dist_4

distribution along dimension 4

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 1)) :: blk_size_1

block sizes along dimension 1

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 2)) :: blk_size_2

block sizes along dimension 2

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 3)) :: blk_size_3

block sizes along dimension 3

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 4)) :: blk_size_4

block sizes along dimension 4

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 1)) :: blk_offset_1

block offsets along dimension 1

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 2)) :: blk_offset_2

block offsets along dimension 2

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 3)) :: blk_offset_3

block offsets along dimension 3

integer, intent(out), optional, DIMENSION(dbcsr_t_nblks_total(tensor, 4)) :: blk_offset_4

block offsets along dimension 4

type(dbcsr_t_distribution_type), intent(out), optional :: distribution

distribution object

character(len=*), intent(out), optional :: name

name of tensor

integer, intent(out), optional :: data_type

data type of tensor