SURFEX v7.3
General documentation of Surfex
 All Classes Files Functions Variables Typedefs
/home/dasprezs/EXPORT_v7_3/src/LIB/FM/modd_conf.f90
Go to the documentation of this file.
00001 !     ######spl
00002       MODULE MODD_CONF
00003 !     #################
00004 !
00005 !!****  *MODD_CONF* - declaration of configuration variables
00006 !!
00007 !!    PURPOSE
00008 !!    -------
00009 !       The purpose of this declarative module is to specify  the variables
00010 !     which concern the configuration of all models. For exemple, 
00011 !     the type of geometry (Cartesian or conformal projection plane). 
00012 !
00013 !!
00014 !!**  IMPLICIT ARGUMENTS
00015 !!    ------------------
00016 !!      None 
00017 !!
00018 !!    REFERENCE
00019 !!    ---------
00020 !!      Book2 of documentation of Meso-NH (module MODD_CONF)
00021 !!      Technical Specifications Report of the Meso-NH (chapters 2 and 3)
00022 !!       
00023 !!    AUTHOR
00024 !!    ------
00025 !!      V. Ducrocq   *Meteo France*
00026 !!
00027 !!    MODIFICATIONS
00028 !!    -------------
00029 !!      Original    05/05/94    
00030 !!      J. Stein                      09/01/95   add the 1D switch    
00031 !!      J. Stein and P. Jabouille     30/04/96   add the storage type         
00032 !!      J.-P. Pinty                   13/02/96   add LFORCING switch
00033 !!      J. Stein                      25/07/97   add the equation system switch    
00034 !!      P. Jabouille                  07/05/98   add LPACK
00035 !!      V. Masson                     18/03/98   add the VERSION switch
00036 !!      V. Masson                     15/03/99   add PROGRAM swith
00037 !!      P. Jabouille                  21/07/99   add NHALO and CSPLIT
00038 !!      P. Jabouille                  26/06/01   lagrangian variables
00039 !!      V. Masson                     09/07/01   add LNEUTRAL switch
00040 !!      P. Jabouille                  18/04/02   add NBUGFIX and CBIBUSER
00041 !!
00042 !-------------------------------------------------------------------------------
00043 !
00044 !*       0.   DECLARATIONS
00045 !             ------------
00046 !
00047 IMPLICIT NONE
00048 !
00049 CHARACTER (LEN=5),SAVE :: CCONF  ! Configuration of models
00050                                  !  'START' for start configuration (variables
00051                                  ! at time t and t-dt are the same in the
00052                                  ! initial file)
00053                                  !  'RESTART' for restart configuration 
00054                                  ! (variables  at time t and t-dt are different)   
00055                                  !  'POST' for post-treatment configuration 
00056 LOGICAL,SAVE      :: LTHINSHELL  ! Logical for thinshell approximation
00057                                  ! .TRUE.  = thinshell approximation
00058                                  ! .FALSE. = no thinshell approximation
00059 LOGICAL,SAVE      :: LCARTESIAN  ! Logical for cartesian geometry :
00060                                  !  .TRUE.  = cartesian geometry 
00061                                  !  .FALSE. = conformal projection
00062 LOGICAL,SAVE      :: L2D         ! Logical for 2D model version
00063                                  ! .TRUE.  = 2D model version
00064                                  ! .FALSE. = 3D model version
00065 LOGICAL,SAVE      :: L1D         ! Logical for 1D model version
00066                                  ! .TRUE.  = 1D model version
00067                                  ! .FALSE. = 2D or 3D model version
00068 LOGICAL,SAVE      :: LFLAT       ! Logical for zero ororography
00069                                  ! .TRUE.  = no orography (zs=0.)
00070                                  ! .FALSE. = orography  
00071 INTEGER,SAVE      :: NMODEL      ! Number of nested models
00072 INTEGER,SAVE      :: NVERB       ! Level of informations on output-listing
00073                                  !  0 for minimum of prints
00074                                  ! 5 for intermediate level of prints
00075                                  ! 10 for maximum of prints 
00076 CHARACTER (LEN=5),SAVE :: CEXP   !  Experiment name
00077 CHARACTER (LEN=5),SAVE :: CSEG   ! name of segment
00078 CHARACTER (LEN=2),SAVE :: CSTORAGE_TYPE ! storage type for the informations 
00079                                  ! written in the FM files ( 'TT' if the MesoNH 
00080                                  ! prognostic fields are at the same instant;
00081                                  ! 'MT' if they are taken at two instants in
00082                                  ! succession; 'PG' for PGD files informations )
00083 LOGICAL,SAVE :: LFORCING         ! Logical for forcing sources
00084                                  ! .TRUE.  = add forcing sources
00085                                  ! .FALSE. = no forcing fields
00086 !
00087 CHARACTER (LEN=3),SAVE :: CEQNSYS! EQuatioN SYStem resolved by the MESONH model
00088                                  ! 'LHE' Lipps and HEmler anelastic system
00089                                  ! 'DUR' approximated form of the DURran version
00090                                  ! of the anelastic sytem
00091                                  ! 'MAE' classical Modified Anelastic Equations
00092                                  ! but with not any approximation in the
00093                                  ! momentum equation
00094                                  ! 'FCE' fully compressible equations ( not
00095                                  ! yet developped )
00096 LOGICAL,SAVE      :: LPACK       ! Logical to compress 1D or 2D FM files
00097 !
00098 !
00099 INTEGER,SAVE :: NMASDEV           ! NMASDEV=XY corresponds to the masdevX_Y
00100 INTEGER,SAVE :: NBUGFIX           ! NBUGFIX=n corresponds to the BUGn of masdevX_Y
00101 CHARACTER(LEN=10),SAVE :: CBIBUSER! CBIBUSER is the name of the user binary library
00102 !
00103 CHARACTER(LEN=6),SAVE :: CPROGRAM ! CPROGRAM is the program currently running:
00104 !                                 ! 'PGD   ','ADVPGD','NESPGD','REAL  ','IDEAL '
00105 !                                 ! 'MESONH','SPAWN ','DIAG  '
00106 !
00107 INTEGER,SAVE      :: NHALO        ! Size of the halo for parallel distribution
00108 !
00109 CHARACTER (LEN=10),SAVE :: CSPLIT ! kind of domain splitting for parallel distribution
00110                                   !  "BSPLITTING","XSPLITTING","YSPLITTING"
00111 LOGICAL,SAVE      :: LLG         ! Logical to use lagrangian variables
00112 LOGICAL,SAVE      :: LINIT_LG    ! to reinitialize lagrangian variables
00113 CHARACTER (LEN=5),SAVE :: CINIT_LG ! to reinitialize LG variables at every output
00114 LOGICAL,SAVE      :: LNOMIXLG    ! to use turbulence for lagrangian variables
00115 !
00116 LOGICAL,SAVE      :: LNEUTRAL ! True if ref. theta field is uniform
00117 !
00118 END MODULE MODD_CONF