dbcsr_t_setup_test_tensor Subroutine

public subroutine dbcsr_t_setup_test_tensor(tensor, mp_comm, enumerate, blk_ind_1, blk_ind_2, blk_ind_3, blk_ind_4)

Allocate and fill test tensor - entries are enumerated by their index s.t. they only depend on global properties of the tensor but not on distribution, matrix representation, etc.

Arguments

TypeIntentOptionalAttributesName
type(dbcsr_t_type), intent(inout) :: tensor
integer, intent(in) :: mp_comm

communicator

logical, intent(in) :: enumerate
integer, intent(in), optional DIMENSION(:):: blk_ind_1

index along respective dimension of non-zero blocks

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

index along respective dimension of non-zero blocks

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

index along respective dimension of non-zero blocks

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

index along respective dimension of non-zero blocks


Contents

None