dbcsr_get_replication_type Function

public pure function dbcsr_get_replication_type(matrix) result(repl_type)

Returns the data type stored in the matrix

Arguments

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

query this matrix

Return Value character(len=1)

repl_type (see dbcsr_types.F for possible values)


Source Code

   PURE FUNCTION dbcsr_get_replication_type(matrix) RESULT(repl_type)
      !! Returns the data type stored in the matrix

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

      repl_type = matrix%replication_type
   END FUNCTION dbcsr_get_replication_type