dbcsr_get_occupation Function

public function dbcsr_get_occupation(matrix) result(occupation)

Arguments

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

Return Value real(kind=real_8)


Source Code

   FUNCTION dbcsr_get_occupation(matrix) RESULT(occupation)
      TYPE(dbcsr_type), INTENT(IN)                       :: matrix
      REAL(KIND=real_8)                                  :: occupation

      occupation = dbcsr_get_occupation_prv(matrix%prv)
   END FUNCTION dbcsr_get_occupation