Oasis3 4.0.2
mod_anais.F90
Go to the documentation of this file.
00001 MODULE mod_anais
00002 !
00003 ! -- anais.h   01-11-95   Version 2.0   Author: Laurent Terray
00004 !    *******             
00005 !              31-08-96   Version 2.1 : add new fields for anais package
00006 !
00007 !              18-03-02   Version 2.5 : changed in module
00008 !@
00009 !@  Contents : variables and arrays related to the ANAIS interpolator
00010 !@  --------
00011 !@
00012 !@ Anaism --->>>
00013 !@
00014 !@ -- nmesh : number of ocean gcm-1 squares overlapped by a given gcm-2 
00015 !@            square (1D)
00016 !@
00017 !@ -- amint : weight for each gcm-1 mesh proportional to overlapped area (1D)
00018 !@
00019 !@ -- nmint : neighbors adress on gcm-1 grid for a given gcm-2 grid point (1D)
00020 !@
00021 !@ -- naismfl : flag to identify different ANAISM parameter sets (1D)
00022 !@
00023 !@ -- naismvoi : maximum number of overlapped neighbors (1D)
00024 !@
00025 !@ -- niwtm : flag to read/write ANAISM parameters (1D)
00026 !@
00027 !@ Anaisg --->>>
00028 !@
00029 !@ -- agint : weight for each gcm-1 grid point with gaussian distribution (1D)
00030 !@
00031 !@ -- ngint : neighbors adress on gcm-1 grid for a given gcm-2 grid point (1D)
00032 !@
00033 !@ -- varmul : variance multiplicator
00034 !@
00035 !@ -- naisgfl : flag to identify different ANAISG parameter sets (1D)
00036 !@
00037 !@ -- naisgvoi :  maximum number of used neighbors (1D)
00038 !@
00039 !@ -- niwtg : flag to read/write ANAISG parameters (1D)
00040 !@
00041 !@ Common --->>>
00042 !@
00043 !@ -- linit : I/O initialization flag for each field
00044 !@
00045 !     -------------------------------------------------------------------
00046 !
00047   USE mod_kinds_oasis
00048 !
00049   INTEGER (kind=ip_intwp_p), DIMENSION(:), ALLOCATABLE :: ngint,nmint,nmesh
00050   INTEGER (kind=ip_intwp_p), DIMENSION(:), ALLOCATABLE :: naismfl, naisgfl
00051   INTEGER (kind=ip_intwp_p), DIMENSION(:), ALLOCATABLE :: naismvoi, naisgvoi
00052   INTEGER (kind=ip_intwp_p), DIMENSION(:), ALLOCATABLE :: niwtm, niwtg
00053 !
00054   REAL (kind=ip_realwp_p), DIMENSION(:), ALLOCATABLE :: agint, amint, varmul
00055 !
00056   LOGICAL, DIMENSION(:), ALLOCATABLE :: linit
00057 !
00058 !   -------------------------------------------------------------------
00059 END MODULE mod_anais
 All Data Structures Namespaces Files Functions Variables Defines