UPP (develop)
Loading...
Searching...
No Matches
kinds_mod.F File Reference

This module is to hold specification kinds for variable declaration. More...

Go to the source code of this file.

Variables

integer, parameter, public kinds::i_byte = selected_int_kind(1)
 Specification kind for byte (1-byte) integer variable.
 
integer, parameter, public kinds::i_kind = integer_types( default_integer )
 i_kind Generic specification kind for default integer
 
integer, parameter, public kinds::i_llong = max( llong_t, i_long )
 Specification kind for double long (8-byte) integer variable.
 
integer, parameter, public kinds::i_long = selected_int_kind(8)
 Specification kind for long (4-byte) integer variable.
 
integer, parameter, public kinds::i_short = selected_int_kind(4)
 Specification kind for short (2-byte) integer variable.
 
integer, parameter, public kinds::num_bytes_for_i_byte = 1
 Expected 8-bit byte size for byte integer.
 
integer, parameter, public kinds::num_bytes_for_i_kind = integer_byte_sizes( default_integer )
 Number of bytes for i_kind.
 
integer, parameter, public kinds::num_bytes_for_i_llong = 8
 Expected 8-bit byte size for llong integer.
 
integer, parameter, public kinds::num_bytes_for_i_long = 4
 Expected 8-bit byte size for long integer.
 
integer, parameter, public kinds::num_bytes_for_i_short = 2
 Expected 8-bit byte size for short integer.
 
integer, parameter, public kinds::num_bytes_for_r_double = 8
 Expected 8-bit byte size for double precision types.
 
integer, parameter, public kinds::num_bytes_for_r_kind = real_byte_sizes( default_real )
 Number of bytes for r_kind.
 
integer, parameter, public kinds::num_bytes_for_r_quad = 16
 Expected 8-bit byte size for quad precision types.
 
integer, parameter, public kinds::num_bytes_for_r_single = 4
 Expected 8-bit byte size for single precision types.
 
integer, parameter, public kinds::r_double = selected_real_kind(15)
 Specification kind for double precision (8-byte) real variable.
 
integer, parameter, public kinds::r_kind = real_kinds( default_real )
 r_kind Generic specification kind for default floating point
 
integer, parameter, public kinds::r_quad = max( quad_t, r_double )
 r_quad Specification kind for quad precision (16-byte) real variable
 
integer, parameter, public kinds::r_single = selected_real_kind(6)
 Specification kind for single precision (4-byte) real variable.
 

Detailed Description

This module is to hold specification kinds for variable declaration.

This module is based on (copied from) Paul vanDelst's type_kinds module found in the community radiative transfer model.

Note
The numerical data types defined in this module are:
Variables name Numerical data types
i_byte specification kind for byte (1-byte) integer variable
i_short specification kind for short (2-byte) integer variable
i_long specification kind for long (4-byte) integer variable
i_llong specification kind for double long (8-byte) integer variable
r_single specification kind for single precision (4-byte) real variable
r_double specification kind for double precision (8-byte) real variable
r_quad specification kind for quad precision (16-byte) real variable
i_kind generic specification kind for default integer
r_kind generic specification kind for default floating point

Program History Log

Date Programmer Comments
2004-08-15 Russ Treadon Initial
Author
Russ Treadon np23
Date
2004-08-15

Definition in file kinds_mod.F.

Variable Documentation

◆ i_byte

integer, parameter, public kinds::i_byte = selected_int_kind(1)

Specification kind for byte (1-byte) integer variable.

Definition at line 40 of file kinds_mod.F.

◆ i_kind

integer, parameter, public kinds::i_kind = integer_types( default_integer )

i_kind Generic specification kind for default integer

Definition at line 78 of file kinds_mod.F.

◆ i_llong

integer, parameter, public kinds::i_llong = max( llong_t, i_long )

Specification kind for double long (8-byte) integer variable.

Definition at line 47 of file kinds_mod.F.

◆ i_long

integer, parameter, public kinds::i_long = selected_int_kind(8)

Specification kind for long (4-byte) integer variable.

Definition at line 44 of file kinds_mod.F.

◆ i_short

integer, parameter, public kinds::i_short = selected_int_kind(4)

Specification kind for short (2-byte) integer variable.

Definition at line 42 of file kinds_mod.F.

◆ num_bytes_for_i_byte

integer, parameter, public kinds::num_bytes_for_i_byte = 1

Expected 8-bit byte size for byte integer.

Definition at line 51 of file kinds_mod.F.

◆ num_bytes_for_i_kind

integer, parameter, public kinds::num_bytes_for_i_kind = integer_byte_sizes( default_integer )

Number of bytes for i_kind.

Definition at line 80 of file kinds_mod.F.

◆ num_bytes_for_i_llong

integer, parameter, public kinds::num_bytes_for_i_llong = 8

Expected 8-bit byte size for llong integer.

Definition at line 57 of file kinds_mod.F.

◆ num_bytes_for_i_long

integer, parameter, public kinds::num_bytes_for_i_long = 4

Expected 8-bit byte size for long integer.

Definition at line 55 of file kinds_mod.F.

◆ num_bytes_for_i_short

integer, parameter, public kinds::num_bytes_for_i_short = 2

Expected 8-bit byte size for short integer.

Definition at line 53 of file kinds_mod.F.

◆ num_bytes_for_r_double

integer, parameter, public kinds::num_bytes_for_r_double = 8

Expected 8-bit byte size for double precision types.

Definition at line 98 of file kinds_mod.F.

◆ num_bytes_for_r_kind

integer, parameter, public kinds::num_bytes_for_r_kind = real_byte_sizes( default_real )

Number of bytes for r_kind.

Definition at line 118 of file kinds_mod.F.

◆ num_bytes_for_r_quad

integer, parameter, public kinds::num_bytes_for_r_quad = 16

Expected 8-bit byte size for quad precision types.

Definition at line 100 of file kinds_mod.F.

◆ num_bytes_for_r_single

integer, parameter, public kinds::num_bytes_for_r_single = 4

Expected 8-bit byte size for single precision types.

Definition at line 96 of file kinds_mod.F.

◆ r_double

integer, parameter, public kinds::r_double = selected_real_kind(15)

Specification kind for double precision (8-byte) real variable.

Definition at line 89 of file kinds_mod.F.

◆ r_kind

integer, parameter, public kinds::r_kind = real_kinds( default_real )

r_kind Generic specification kind for default floating point

Definition at line 116 of file kinds_mod.F.

◆ r_quad

integer, parameter, public kinds::r_quad = max( quad_t, r_double )

r_quad Specification kind for quad precision (16-byte) real variable

Definition at line 92 of file kinds_mod.F.

◆ r_single

integer, parameter, public kinds::r_single = selected_real_kind(6)

Specification kind for single precision (4-byte) real variable.

Definition at line 87 of file kinds_mod.F.