Returns the data type stored in the matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_type), | intent(in) | :: | matrix |
query this matrix |
data_type (see dbcsr_types.F for possible values)
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