Stores a scalar in any of the supported data types.
Reasoning Easier routine interfaces
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=real_4), | public | :: | r_sp |
stores real values in single precision |
|||
real(kind=real_8), | public | :: | r_dp |
stores real values in double precision |
|||
complex(kind=real_4), | public | :: | c_sp |
stores complex values in single precision |
|||
complex(kind=real_8), | public | :: | c_dp |
stores complex values in double precision |
|||
integer, | public | :: | data_type |
which of the data types is actually used |
TYPE dbcsr_scalar_type !! Stores a scalar in any of the supported data types. !! !! Reasoning !! Easier routine interfaces REAL(KIND=real_4) :: r_sp !! stores real values in single precision REAL(KIND=real_8) :: r_dp !! stores real values in double precision COMPLEX(KIND=real_4) :: c_sp !! stores complex values in single precision COMPLEX(KIND=real_8) :: c_dp !! stores complex values in double precision INTEGER :: data_type !! which of the data types is actually used END TYPE dbcsr_scalar_type