Oasis3 4.0.2
mod_parameter.F90
Go to the documentation of this file.
00001 MODULE mod_parameter
00002 !
00003 ! -- parameter.h   01-09-95   Version 2.0   Author: Laurent Terray
00004 !    ***********   05-08-96   Version 2.1 
00005 !                             Mods: Add parameters for mapping 
00006 !                                   and subgrid (L. Terray)
00007 !                  20-06-97   Version 2.2 Mods: Add jpbyteint (S. Valcke)
00008 !                  16-12-97                     Add jpext and jpnbn (L. Terray)
00009 !                  31-12-97                     Suppress jpwrk (L. Terray)
00010 !                  12-10-99   Version 2.3 Mods: Add jpnfn (S. Valcke)
00011 !                  28-01-00   Version 2.4 Mods :jpparal=102, jpfield=10 (J.Latour)
00012 !                  18-03-02   Version 2.5 changed in module (A.Caubel)
00013 !                  16-11-09   Version 3.3 Add sco_myfield, sco_num_myf (I. Epicoco-CMCC)
00014 !@
00015 !@  Contents : parameter file for OASIS
00016 !@  --------
00017 !@
00018 !@ -- ig_total_nfield : number of coupling fields
00019 !@
00020 !@ -- ig_direct_nfield : number of fields not going through Oasis
00021 !@
00022 !@ -- ig_nfield : number of fields going through Oasis
00023 !@
00024 !@ -- lg_oasis_field : logical true if at least one field goes through Oasis
00025 !@                 (.false. if all fields are exchanged directly)
00026 !@
00027 !@ -- ig_nmodel : maximum number of models
00028 !@
00029 !@ -- ig_maxcomb : maximum number of fields to be combined in the BLASxxx analyses
00030 !@
00031 !@ -- ig_maxold : Memory size of the macro arrays handling fields values
00032 !@
00033 !@ -- ig_maxnew : Memory size of the macro arrays handling fields values 
00034 !@
00035 !@ -- ig_maxold_grid : Memory size of the arrays handling field grid-related 
00036 !@                     data before interpolation
00037 !@
00038 !@ -- ig_maxnew_grid : Memory size of the arrays handling field grid-related 
00039 !@                     data after interpolation
00040 !@
00041 !@ -- ig_nwork : Size of "nwork" array
00042 !@
00043 !@ -- ig_work : Size of "work" array
00044 !@
00045 !@ -- ig_maxgrd : maximum grid size of indirect fields
00046 !@
00047 !@ -- ig_total_maxgrd : maximum grid size of all fields defined in the 
00048 !@                      namcouple (direct and indirect fields)
00049 !@
00050 !@ -- ig_maxwoa : maximum number of underlying neighbors for SURFMESH interpolation
00051 !@
00052 !@ -- ig_maxnoa : number of neighbors for GAUSSIAN interpolation
00053 !@
00054 !@ -- ig_maxmoa : maximum number of underlying neighbors for MOZAIC interpolation
00055 !@
00056 !@ -- ig_maxsoa : maximum number of overlaying neighbors for SUBGRID interpolation
00057 !@
00058 !@ -- ig_maxnfm : maximum number of different SURFMESH interpolations
00059 !@
00060 !@ -- ig_maxnfg : maximum number of different GAUSSIAN interpolations
00061 !@
00062 !@ -- ig_maxnfp : maximum number of different MOZAIC interpolations
00063 !@
00064 !@ -- ig_maxnfs : maximum number of different SUBGRID interpolations
00065 !@
00066 !@ -- ig_maxnfn : maximum number of different NINENN extrapolations
00067 !@
00068 !@ -- ig_maxext : maximum number of neighbors for extrapolation
00069 !@
00070 !@ -- ig_maxnbn : maximum number of different extrapolation
00071 !@
00072 !@ -- sco_myfield : array containing fields to be processed by the current process
00073 !@
00074 !@ -- sco_num_myf : size of "sco_myfield" array
00075 !@
00076 !     -------------------------------------------------------------------
00077 !
00078 !* Useful numerical values
00079   USE mod_kinds_oasis
00080   INTEGER (kind=ip_intwp_p),PARAMETER :: jpeight = 8, jpfour = 4, jpeighty = 80
00081 !
00082 !-----Field status
00083 !
00084   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_exported  = 1
00085   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_ignored   = 2
00086   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_input     = 3
00087   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_output    = 4
00088   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_expout    = 5
00089   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_ignout    = 6
00090   INTEGER(kind=ip_intwp_p), PARAMETER :: ip_auxilary  = 7
00091 !
00092 !* Essential parameters to dimension the simulation
00093   INTEGER (kind=ip_intwp_p) :: ig_nmodel, ig_nfield, ig_direct_nfield, ig_total_nfield
00094   LOGICAL :: lg_oasis_field
00095   INTEGER (kind=ip_intwp_p) :: ig_maxcomb
00096 !* Parameters to dimension the main big arrays
00097   INTEGER (kind=ip_intwp_p) :: ig_nwork, ig_work
00098   INTEGER (kind=ip_intwp_p) :: ig_maxold, ig_maxnew
00099   INTEGER (kind=ip_intwp_p) :: ig_maxold_grid, ig_maxnew_grid
00100 !* Parameters related to maxima of grid-dimension
00101   INTEGER (kind=ip_intwp_p) :: ig_maxgrd, ig_total_maxgrd
00102 !* Parameters related to ANAIS(M-G), MOZAIC and SUBGRID interpolation
00103   INTEGER (kind=ip_intwp_p) :: ig_maxwoa, ig_maxnoa, ig_maxmoa, ig_maxsoa
00104   INTEGER (kind=ip_intwp_p) :: ig_maxnfm, ig_maxnfg, ig_maxnfp, ig_maxnfs, ig_maxnfn
00105 !* Parameters related to extrapolation method WEIGHT
00106   INTEGER (kind=ip_intwp_p) :: ig_maxext, ig_maxnbn
00107 #if defined use_oasis_para || defined use_oasis_cmcc_para
00108 !* Rank of oasis instance (for pseudo-parallel use of oasis)
00109   INTEGER (kind=ip_intwp_p) :: ig_indexoa
00110 #if defined use_oasis_cmcc_para
00111 !* CMCC – Parameters related to fields scheduling
00112   INTEGER (kind=ip_intwp_p), DIMENSION(:), ALLOCATABLE :: sco_myfield
00113   INTEGER (kind=ip_intwp_p) :: sco_num_myf
00114 #endif
00115 #endif
00116 
00117 !
00118 !     -------------------------------------------------------------------
00119 !
00120 END MODULE MOD_PARAMETER
 All Data Structures Namespaces Files Functions Variables Defines