dbcsr_t_iterator_next_block Subroutine

public subroutine dbcsr_t_iterator_next_block(iterator, ind_nd, blk, blk_p, blk_size, blk_offset)

iterate over nd blocks of an nd rank tensor, index only (blocks must be retrieved by calling dbcsr_t_get_block on tensor).

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_iterator_type), intent(inout) :: iterator
integer, intent(out), DIMENSION(ndims_iterator(iterator)) :: ind_nd

nd index of block

integer, intent(out) :: blk

is this needed?

integer, intent(out), optional :: blk_p

is this needed?

integer, intent(out), optional, DIMENSION(ndims_iterator(iterator)) :: blk_size

blk size in each dimension blk offset in each dimension

integer, intent(out), optional, DIMENSION(ndims_iterator(iterator)) :: blk_offset

blk size in each dimension blk offset in each dimension