Returns the type of memory used for data in the matrix
Note
It returns the declared data type, not the actually used type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_type), | intent(in) | :: | matrix |
query this matrix |
memory type used for data
FUNCTION dbcsr_get_data_memory_type(matrix) & RESULT(memory_type) !! Returns the type of memory used for data in the matrix !! @note It returns the declared data type, not the actually used type TYPE(dbcsr_type), INTENT(IN) :: matrix !! query this matrix TYPE(dbcsr_memtype_type) :: memory_type !! memory type used for data memory_type = matrix%data_memory_type END FUNCTION dbcsr_get_data_memory_type