Last change
on this file was
4141,
checked in by jgipsl, 6 years ago
|
Update with the official version of IOIPSL to be compatible with modipsl.
|
File size:
903 bytes
|
Line | |
---|
1 | MODULE defprec |
---|
2 | !- |
---|
3 | ! $Id: def.prec 386 2008-09-04 08:38:48Z bellier $ |
---|
4 | !- |
---|
5 | ! This software is governed by the CeCILL license |
---|
6 | ! See IOIPSL/IOIPSL_License_CeCILL.txt |
---|
7 | !!-------------------------------------------------------------------- |
---|
8 | !! The module "defprec" set default precision for computation |
---|
9 | !! |
---|
10 | !! This module should be used by every modules |
---|
11 | !! to keep the right precision for every variable |
---|
12 | !!-------------------------------------------------------------------- |
---|
13 | !?INTEGERS of KIND 1 are not supported on all computers |
---|
14 | !?INTEGER,PARAMETER :: i_1=SELECTED_INT_KIND(2) |
---|
15 | INTEGER,PARAMETER :: i_2=SELECTED_INT_KIND(4) |
---|
16 | INTEGER,PARAMETER :: i_4=SELECTED_INT_KIND(9) |
---|
17 | INTEGER,PARAMETER :: i_8=SELECTED_INT_KIND(13) |
---|
18 | INTEGER,PARAMETER :: r_4=SELECTED_REAL_KIND(6,37) |
---|
19 | INTEGER,PARAMETER :: r_8=SELECTED_REAL_KIND(15,307) |
---|
20 | INTEGER,PARAMETER :: i_std=i_?, r_std=r_? |
---|
21 | !----------------- |
---|
22 | END MODULE defprec |
---|
Note: See
TracBrowser
for help on using the repository browser.