dbcsr_get_data_type Function

public pure function dbcsr_get_data_type(matrix) result(data_type)

Returns the data type stored in the matrix

Arguments

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

query this matrix

Return Value integer

data_type (see dbcsr_types.F for possible values)


Contents

Source Code


Source Code

   PURE FUNCTION dbcsr_get_data_type(matrix) RESULT(data_type)
      !! Returns the data type stored in the matrix

      TYPE(dbcsr_type), INTENT(IN)                       :: matrix
         !! query this matrix
      INTEGER                                            :: data_type
         !! data_type (see dbcsr_types.F for possible values)

      data_type = matrix%data_type
   END FUNCTION dbcsr_get_data_type