Updates the row info stored in the iterator
Note
Added to handle the complexity introduced with the transpose
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_iterator), | intent(inout) | :: | iterator |
the iterator |
PURE SUBROUTINE update_row_info(iterator) !! Updates the row info stored in the iterator !! @note Added to handle the complexity introduced with the transpose TYPE(dbcsr_iterator), INTENT(INOUT) :: iterator !! the iterator IF (iterator%row .GT. 0) THEN IF (iterator%transpose) THEN iterator%row_size = iterator%cbs(iterator%row) iterator%row_offset = iterator%coff(iterator%row) ELSE iterator%row_size = iterator%rbs(iterator%row) iterator%row_offset = iterator%roff(iterator%row) END IF END IF END SUBROUTINE update_row_info