dbcsr_t_put_anyd_block Subroutine

private subroutine dbcsr_t_put_anyd_block(tensor, ind, block, summation, scale)

Generic implementation of dbcsr_t_put_block (arbitrary tensor rank and arbitrary datatype)

Arguments

Type IntentOptional 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