dbcsr_get_num_blocks Function

public pure function dbcsr_get_num_blocks(matrix) result(num_blocks)

Arguments

TypeIntentOptionalAttributesName
type(dbcsr_type), intent(in) :: matrix

Return Value integer


Contents

Source Code


Source Code

   PURE FUNCTION dbcsr_get_num_blocks(matrix) RESULT(num_blocks)
      TYPE(dbcsr_type), INTENT(IN)                       :: matrix
      INTEGER                                            :: num_blocks

      num_blocks = dbcsr_get_num_blocks_prv(matrix%prv)
   END FUNCTION dbcsr_get_num_blocks