dbcsr_tas_replicate Subroutine

public subroutine dbcsr_tas_replicate(matrix_in, info, matrix_out, nodata, move_data)

Replicate matrix_in such that each submatrix of matrix_out is an exact copy of matrix_in

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_in
type(dbcsr_tas_split_info), intent(in) :: info
type(dbcsr_tas_type), intent(out) :: matrix_out
logical, intent(in), optional :: nodata

Don't copy data but create matrix_out

logical, intent(in), optional :: move_data

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