Returns data type of a scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_scalar_type), | intent(in) | :: | scalar |
scalar |
data type of the scalar
ELEMENTAL FUNCTION dbcsr_scalar_get_type(scalar) RESULT(data_type) !! Returns data type of a scalar TYPE(dbcsr_scalar_type), INTENT(IN) :: scalar !! scalar INTEGER :: data_type !! data type of the scalar data_type = scalar%data_type END FUNCTION dbcsr_scalar_get_type