Map contraction bounds to bounds referring to tensor indices see dbcsr_t_contract for docu of dummy arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_t_type), | intent(in) | :: | tensor_1 | |||
type(dbcsr_t_type), | intent(in) | :: | tensor_2 | |||
integer, | intent(in), | DIMENSION(:) | :: | contract_1 | ||
integer, | intent(in), | DIMENSION(:) | :: | notcontract_1 | ||
integer, | intent(in), | DIMENSION(:) | :: | contract_2 | ||
integer, | intent(in), | DIMENSION(:) | :: | notcontract_2 | ||
integer, | intent(out), | DIMENSION(2, ndims_tensor(tensor_1)) | :: | bounds_t1 |
bounds mapped to tensor_1 |
|
integer, | intent(out), | DIMENSION(2, ndims_tensor(tensor_2)) | :: | bounds_t2 |
bounds mapped to tensor_2 |
|
integer, | intent(in), | optional, | DIMENSION(2, SIZE(contract_1)) | :: | bounds_1 | |
integer, | intent(in), | optional, | DIMENSION(2, SIZE(notcontract_1)) | :: | bounds_2 | |
integer, | intent(in), | optional, | DIMENSION(2, SIZE(notcontract_2)) | :: | bounds_3 | |
logical, | intent(out), | optional | :: | do_crop_1 |
whether tensor 1 should be cropped whether tensor 2 should be cropped |
|
logical, | intent(out), | optional | :: | do_crop_2 |
whether tensor 1 should be cropped whether tensor 2 should be cropped |