dbcsr_scalar_set_type Subroutine

public elemental subroutine dbcsr_scalar_set_type(scalar, data_type)

Sets data type of a scalar

Arguments

TypeIntentOptionalAttributesName
type(dbcsr_scalar_type), intent(inout) :: scalar

scalar

integer, intent(in) :: data_type

Contents

Source Code


Source Code

   ELEMENTAL SUBROUTINE dbcsr_scalar_set_type(scalar, data_type)
      !! Sets data type of a scalar

      TYPE(dbcsr_scalar_type), INTENT(INOUT)             :: scalar
         !! scalar
      INTEGER, INTENT(IN)                                :: data_type

      scalar%data_type = data_type
   END SUBROUTINE dbcsr_scalar_set_type