dbcsr_tas_merge Subroutine

public subroutine dbcsr_tas_merge(matrix_out, matrix_in, summation, move_data)

Merge submatrices of matrix_in to matrix_out by sum

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_out
type(dbcsr_tas_type), intent(inout) :: matrix_in
logical, intent(in), optional :: summation
logical, intent(in), optional :: move_data

memory optimization: move data to matrix_out such that matrix_in is empty on return