dbcsr_t_get_anyd_block Subroutine

private subroutine dbcsr_t_get_anyd_block(tensor, ind, block, found)

Generic implementation of dbcsr_t_get_block (arbitrary tensor rank and arbitrary datatype)

Arguments

Type IntentOptional 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