Make sure that matrix_out has same blocks reserved as matrix_in. This assumes that both matrices have same number of block rows and block columns.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_tas_type), | intent(in) | :: | matrix_in | |||
type(dbcsr_tas_type), | intent(inout) | :: | matrix_out |