dbcsr_valid_index Function

public pure function dbcsr_valid_index(matrix) result(valid_index)

Returns whether the index structure of the matrix is valid.

Arguments

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

verify index validity of this matrix

Return Value logical

index validity


Source Code

   PURE FUNCTION dbcsr_valid_index(matrix) RESULT(valid_index)
      !! Returns whether the index structure of the matrix is valid.

      TYPE(dbcsr_type), INTENT(IN)                       :: matrix
         !! verify index validity of this matrix
      LOGICAL                                            :: valid_index
         !! index validity

      valid_index = matrix%valid
   END FUNCTION dbcsr_valid_index