dbcsr_kinds Module

Defines the basic variable types

Note

Data type definitions; tested on: - IBM AIX xlf90 - SGI IRIX f90 - CRAY T3E f90 - DEC ALPHA f90 - NAG_F90 - SUN - HITACHI


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: sp = SELECTED_REAL_KIND(6, 30)
integer, public, parameter :: dp = SELECTED_REAL_KIND(14, 200)
integer, public, parameter :: dp_size = 8
integer, public, parameter :: int_size = BIT_SIZE(0)/8
integer, public, parameter :: sp_size = 4
integer, public, parameter :: real_4 = SELECTED_REAL_KIND(6, 30)
integer, public, parameter :: real_8 = SELECTED_REAL_KIND(14, 200)
integer, public, parameter :: real_4_size = 4
integer, public, parameter :: real_8_size = 8
integer, public, parameter :: int_1 = SELECTED_INT_KIND(2)
integer, public, parameter :: int_1_size = BIT_SIZE(INT(0, int_1))/8
integer, private, parameter :: int_2 = SELECTED_INT_KIND(4)
integer, public, parameter :: int_2_size = BIT_SIZE(INT(0, int_2))/8
integer, public, parameter :: int_4 = SELECTED_INT_KIND(5)
integer, public, parameter :: int_4_size = BIT_SIZE(INT(0, int_4))/8
integer, public, parameter :: int_8 = SELECTED_INT_KIND(10)
integer, public, parameter :: int_8_size = BIT_SIZE(INT(0, int_8))/8
integer, public, parameter :: default_string_length = 80
integer, public, parameter :: default_path_length = 1024
integer, public, parameter :: max_line_length = 2*default_path_length
character(len=1), public, parameter :: default_blank_character(2) = (/" ", CHAR(9)/)

Subroutines

public subroutine print_kind_info(iw)

Print informations about the used data types.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iw