SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
LIB
FM
modd_fmdeclar.F90
Go to the documentation of this file.
1
! ######spl
2
MODULE
modd_fmdeclar
3
! ####################
4
!
5
!!**** *MODD_FMDECLAR* - declaration of global variables of the FM-routines
6
!!
7
!! PURPOSE
8
!! -------
9
!
10
! The purpose of MODD_FMDECLAR is to declare all the global variables that
11
! are needed by the FM-routines. It includes specific FM-software parameters
12
! as well as storage arrays. These arrays allow the FM-routines to keep
13
! in mind which logical unit is associated with which file name
14
! and to state whether a file was actually opened.
15
!!
16
!! IMPLICIT ARGUMENTS
17
!! ------------------
18
!!
19
!! NONE
20
!!
21
!! REFERENCE
22
!! ---------
23
!!
24
!! see the Technical Specifications Report for the Meso-nh project
25
!! (in French)
26
!!
27
!! AUTHOR
28
!! ------
29
!!
30
!! C. FISCHER *METEO-FRANCE*
31
!!
32
!! MODIFICATIONS
33
!! -------------
34
!!
35
!! original 06/94
36
!!
37
!----------------------------------------------------------------------------
38
!
39
!* 0. DECLARATIONS
40
! ------------
41
!
42
IMPLICIT NONE
43
44
INTEGER
,
PARAMETER
::
jpnxlu
=99
! maximum number of logical units for Fortran
45
INTEGER
,
PARAMETER
::
jpnxfm
=
jpnxlu
-10
46
! maximum number of files opened at the same time
47
INTEGER
,
PARAMETER
::
jpxfie
=1.5e8
! maximum record length for the FM-software
48
INTEGER
,
PARAMETER
::
jpniil
=-999
! default value in integer arrays
49
INTEGER
,
PARAMETER
::
jpfinl
=32
! length of the file name strings in FM
50
INTEGER
,
PARAMETER
::
jpxkrk
=100
! maximum length for the comment string
51
52
CHARACTER(LEN=JPFINL),PARAMETER::CPUDFN='UNDEFINED_FILE_NAME'
53
CHARACTER(LEN=JPFINL),PARAMETER::CPUNLU='UNAUTHORIZED_LOGICAL_UNIT'
54
!
55
!----------------------------------------------------------------------------
56
INTEGER
::
nopefi
! number of opened files
57
58
INTEGER
,
DIMENSION(1:JPNXLU)
::
nfityp
59
! NFITYP contains the type of the FM file which
60
! will be used in FMCLOS for the Unix save.
61
62
CHARACTER(LEN=JPFINL),DIMENSION(1:JPNXLU)::CNAMFI
63
! management array containing the names of all
64
! opened files
65
66
LOGICAL
::
lfcatt
=.true.
! This logical is true at the very first call
67
! to FMATTR and is then set to false.
68
69
END MODULE
modd_fmdeclar
modd_fmdeclar::jpnxfm
integer, parameter jpnxfm
Definition:
modd_fmdeclar.F90:45
modd_fmdeclar::lfcatt
logical lfcatt
Definition:
modd_fmdeclar.F90:66
modd_fmdeclar::nfityp
integer, dimension(1:jpnxlu) nfityp
Definition:
modd_fmdeclar.F90:58
modd_fmdeclar::jpfinl
integer, parameter jpfinl
Definition:
modd_fmdeclar.F90:49
modd_fmdeclar
Definition:
modd_fmdeclar.F90:2
modd_fmdeclar::nopefi
integer nopefi
Definition:
modd_fmdeclar.F90:56
modd_fmdeclar::jpnxlu
integer, parameter jpnxlu
Definition:
modd_fmdeclar.F90:44
modd_fmdeclar::jpxfie
integer, parameter jpxfie
Definition:
modd_fmdeclar.F90:47
modd_fmdeclar::jpxkrk
integer, parameter jpxkrk
Definition:
modd_fmdeclar.F90:50
modd_fmdeclar::jpniil
integer, parameter jpniil
Definition:
modd_fmdeclar.F90:48
Generated on Tue Jan 16 2018 16:23:20 for SURFEX v8.1 by
1.8.13