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 |
As dbcsr_reserve_blocks
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_tas_type), | intent(inout) | :: | matrix | |||
integer(kind=int_8), | intent(in), | DIMENSION(:) | :: | rows | ||
integer(kind=int_8), | intent(in), | DIMENSION(:) | :: | columns |