SICOPOLIS V3.0
 All Classes Files Functions Variables Macros
sico_types.F90
Go to the documentation of this file.
1 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 !
3 ! Module : s i c o _ t y p e s
4 !
5 !> @file
6 !!
7 !! Declarations of kind types for SICOPOLIS.
8 !!
9 !! @section Copyright
10 !!
11 !! Copyright 2009-2013 Ralf Greve
12 !!
13 !! @section License
14 !!
15 !! This file is part of SICOPOLIS.
16 !!
17 !! SICOPOLIS is free software: you can redistribute it and/or modify
18 !! it under the terms of the GNU General Public License as published by
19 !! the Free Software Foundation, either version 3 of the License, or
20 !! (at your option) any later version.
21 !!
22 !! SICOPOLIS is distributed in the hope that it will be useful,
23 !! but WITHOUT ANY WARRANTY; without even the implied warranty of
24 !! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 !! GNU General Public License for more details.
26 !!
27 !! You should have received a copy of the GNU General Public License
28 !! along with SICOPOLIS. If not, see <http://www.gnu.org/licenses/>.
29 !<
30 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31 
32 !-------------------------------------------------------------------------------
33 !> Declarations of kind types for SICOPOLIS.
34 !<------------------------------------------------------------------------------
35 module sico_types
36 
37 integer, parameter :: i2b = selected_int_kind(4) !< 2-byte integers
38 integer, parameter :: i4b = selected_int_kind(9) !< 4-byte integers
39 integer, parameter :: sp = kind(1.0) !< Single-precision reals
40 integer, parameter :: dp = kind(1.0d0) !< Double-precision reals
41 
42 end module sico_types
43 !