SURFEX v8.1
General documentation of Surfex
modd_comppar.f90
Go to the documentation of this file.
1 !-----------------------------------------------------------------
2 !--------------- special set of characters for RCS information
3 !-----------------------------------------------------------------
4 ! $Source: /home/cvsroot/mesonh/libtools/lib/COMPRESS/src/comppar.f90,v $ $Revision: 1.1 $ $Date: 2005/04/12 15:06:20 $
5 !-----------------------------------------------------------------
6 !-----------------------------------------------------------------
7 !-----------------------------------------------------------------
9 IMPLICIT NONE
10 ! Debug mode : set LPDEBUG to .TRUE.
11 LOGICAL,PARAMETER :: lpdebug = .false.
12 
13 
14 ! contains coding parameters for (de)compress routines
15 
16 INTEGER,PARAMETER :: jpcstencod = 1 ! constant array
17 INTEGER,PARAMETER :: jpsopencod = 2 ! second order packing
18 INTEGER,PARAMETER :: jpextencod = 3 ! second order packing with min/max values excluded
19 
20 ! Extended code when JPEXTENCOD enabled
21 !
22 ! BE CAREFUL : 3 bits are reserved for coding this code => max value is 7
23 INTEGER,PARAMETER :: jpconst = 0 ! constant value array
24 INTEGER,PARAMETER :: jpnorm = 1 ! same as JPSOPENCOD
25 INTEGER,PARAMETER :: jpminexcl = 2 ! Min value is isolated
26 INTEGER,PARAMETER :: jpmaxexcl = 3 ! Max value is isolated
27 INTEGER,PARAMETER :: jpminmaxexcl = 4 ! Min&Max values are isolated
28 INTEGER,PARAMETER :: jp2val = 5 ! 2 different values in array
29 INTEGER,PARAMETER :: jp3val = 6 ! 3 different values in array
30 INTEGER,PARAMETER :: jpother = 7 ! for future use
31 INTEGER,PARAMETER :: jplog = 8
32 END MODULE modd_comppar
integer, parameter jpcstencod
integer, parameter jpother
integer, parameter jpnorm
integer, parameter jp2val
integer, parameter jpminmaxexcl
integer, parameter jpsopencod
integer, parameter jpextencod
logical, parameter lpdebug
integer, parameter jpconst
integer, parameter jplog
integer, parameter jp3val
integer, parameter jpminexcl
integer, parameter jpmaxexcl