dbcsr_t_put_anyd_block_r_sp Subroutine

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

Generic implementation of dbcsr_t_put_block, template for datatype


Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor
integer, intent(in), DIMENSION(ndims_tensor(tensor)) :: ind

block index

type(block_nd_r_sp), intent(in) :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_4), intent(in), optional :: scale

scaling factor