Last change
on this file was
3990,
checked in by millour, 8 years ago
|
An updated LMDZ5 (based on LMDZ rev 2786) to play with.
EM
|
File size:
851 bytes
|
Rev | Line | |
---|
[3990] | 1 | MODULE PARKIND1 |
---|
| 2 | ! |
---|
| 3 | ! *** Define usual kinds for strong typing *** |
---|
| 4 | ! |
---|
| 5 | IMPLICIT NONE |
---|
| 6 | SAVE |
---|
| 7 | ! |
---|
| 8 | ! Integer Kinds |
---|
| 9 | ! ------------- |
---|
| 10 | ! |
---|
| 11 | INTEGER, PARAMETER :: JPIT = SELECTED_INT_KIND(2) |
---|
| 12 | INTEGER, PARAMETER :: JPIS = SELECTED_INT_KIND(4) |
---|
| 13 | INTEGER, PARAMETER :: JPIM = SELECTED_INT_KIND(9) |
---|
| 14 | INTEGER, PARAMETER :: JPIB = SELECTED_INT_KIND(12) |
---|
| 15 | |
---|
| 16 | !Special integer type to be used for sensative adress calculations |
---|
| 17 | !should be *8 for a machine with 8byte adressing for optimum performance |
---|
| 18 | #ifdef ADDRESS64 |
---|
| 19 | INTEGER, PARAMETER :: JPIA = JPIB |
---|
| 20 | #else |
---|
| 21 | INTEGER, PARAMETER :: JPIA = JPIM |
---|
| 22 | #endif |
---|
| 23 | |
---|
| 24 | ! |
---|
| 25 | ! Real Kinds |
---|
| 26 | ! ---------- |
---|
| 27 | ! |
---|
| 28 | INTEGER, PARAMETER :: JPRT = SELECTED_REAL_KIND(2,1) |
---|
| 29 | INTEGER, PARAMETER :: JPRS = SELECTED_REAL_KIND(4,2) |
---|
| 30 | INTEGER, PARAMETER :: JPRM = SELECTED_REAL_KIND(6,37) |
---|
| 31 | INTEGER, PARAMETER :: JPRB = SELECTED_REAL_KIND(13,300) |
---|
| 32 | ! |
---|
| 33 | END MODULE PARKIND1 |
---|
Note: See
TracBrowser
for help on using the repository browser.