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.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

type(dbcsr_t_type), | intent(inout) | :: | tensor |
|||

type(mp_comm_type), | 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 |