dbcsr_get_index_memory_type Function

public function dbcsr_get_index_memory_type(matrix) result(memory_type)

Returns the type of memory used for the index in the matrix

Arguments

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

query this matrix

Return Value type(dbcsr_memtype_type)

memory type used for the index


Source Code

   FUNCTION dbcsr_get_index_memory_type(matrix) RESULT(memory_type)
      !! Returns the type of memory used for the index in the matrix

      TYPE(dbcsr_type), INTENT(IN)                       :: matrix
         !! query this matrix
      TYPE(dbcsr_memtype_type)                           :: memory_type
         !! memory type used for the index

      memory_type = matrix%index_memory_type
   END FUNCTION dbcsr_get_index_memory_type