dbcsr_get_num_blocks Function

public pure function dbcsr_get_num_blocks(matrix) result(num_blocks)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(in) :: matrix

Return Value integer


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