Generic implementation of dbcsr_t_put_block (arbitrary tensor rank and arbitrary datatype)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(dbcsr_t_type), | intent(inout) | :: | tensor | |||
| integer, | intent(in), | DIMENSION(ndims_tensor(tensor)) | :: | ind |
block index |
|
| type(block_nd), | intent(in) | :: | block |
block to put |
||
| logical, | intent(in), | optional | :: | summation |
whether block should be summed to existing block |
|
| type(dbcsr_scalar_type), | intent(in), | optional | :: | scale |
scaling factor |