dbcsr_t_split_blocks Subroutine

public subroutine dbcsr_t_split_blocks(tensor_in, tensor_out, block_sizes, nodata)

Split tensor blocks into smaller blocks of maximum size PRODUCT(block_sizes).


Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor_in

Input tensor

type(dbcsr_t_type), intent(out) :: tensor_out

Output tensor (split blocks)

integer, intent(in), DIMENSION(ndims_tensor(tensor_in)) :: block_sizes

block sizes for each of the tensor dimensions

logical, intent(in), optional :: nodata

don't copy data from tensor_in to tensor_out