dbcsr_t_split_blocks_generic Subroutine

public subroutine dbcsr_t_split_blocks_generic(tensor_in, tensor_out, blk_size_1, blk_size_2, blk_size_3, blk_size_4, nodata)

Split tensor blocks into smaller blocks

Arguments

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

Input tensor

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

Output tensor (splitted blocks)

integer, intent(in), optional, DIMENSION(:) :: blk_size_1

block sizes for each of the tensor dimensions

integer, intent(in), optional, DIMENSION(:) :: blk_size_2

block sizes for each of the tensor dimensions

integer, intent(in), optional, DIMENSION(:) :: blk_size_3

block sizes for each of the tensor dimensions

integer, intent(in), optional, DIMENSION(:) :: blk_size_4

block sizes for each of the tensor dimensions

logical, intent(in), optional :: nodata

don't copy data from tensor_in to tensor_out