1 !***********************************************************************
2 !* GNU Lesser General Public License
4 !* This file is part of the GFDL Flexible Modeling System (FMS).
6 !* FMS is free software: you can redistribute it and/or modify it under
7 !* the terms of the GNU Lesser General Public License as published by
8 !* the Free Software Foundation, either version 3 of the License, or (at
9 !* your option) any later version.
11 !* FMS is distributed in the hope that it will be useful, but WITHOUT
12 !* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 !* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 !* You should have received a copy of the GNU Lesser General Public
17 !* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18 !***********************************************************************
19 !> @defgroup platform_mod platform_mod
21 !> @brief Uses @ref fms_platform.h to define byte sizes for variable kinds
24 !> @addtogroup platform_mod
27 !platform-dependent settings
28 #include <fms_platform.h>
30 integer, parameter :: r16_kind=QUAD_KIND, r8_kind=DOUBLE_KIND, r4_kind=FLOAT_KIND, &
31 c8_kind=DOUBLE_KIND, c4_kind=FLOAT_KIND, &
32 l8_kind=LONG_KIND, l4_kind=INT_KIND, &
33 i8_kind=LONG_KIND, i4_kind=INT_KIND, i2_kind=SHORT_KIND, &
35 !could additionally define things like OS, compiler...: useful?
36 end module platform_mod
38 ! close documentation grouping