SURFEX v8.1
General documentation of Surfex
modd_get_mesh_index_gauss.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 ! ##########################
7 ! ##########################
8 !
9 !!**** *MODD_GRID_GAUSS - declaration of Gauss grid characteristics for
10 ! routine get_mesh_index_gauss
11 !!
12 !! PURPOSE
13 !! -------
14 !
15 !!
16 !!** IMPLICIT ARGUMENTS
17 !! ------------------
18 !! None
19 !!
20 !! REFERENCE
21 !! ---------
22 !!
23 !! AUTHOR
24 !! ------
25 !! V. Masson *Meteo France*
26 !!
27 !! MODIFICATIONS
28 !! -------------
29 !! Original 10/2006
30 !
31 IMPLICIT NONE
32 !
33 !* 0. DECLARATIONS
34 ! ------------
35 !
36 INTEGER :: nnlati ! number of pseudo-latitudes
37 INTEGER, DIMENSION(:), ALLOCATABLE:: nnlopa ! number of pseudo-longitudes
38 ! ! on each pseudo-latitude circle
39 REAL :: xlapo ! latitude of the rotated pole (deg)
40 REAL :: xlopo ! longitude of the rotated pole (deg)
41 REAL :: xcodil ! stretching factor
42 !
43 REAL :: xdy_max
44 !
45 LOGICAL :: lrotstretch ! If true, rotated pole and/or stretching
46 !
47 INTEGER, DIMENSION(:,:), ALLOCATABLE :: nfracdy
48 INTEGER, DIMENSION(:), ALLOCATABLE :: nfacty
49 INTEGER, DIMENSION(:), ALLOCATABLE :: nfracdx
50 INTEGER, DIMENSION(:), ALLOCATABLE :: nfracgx
51 !
52 REAL, DIMENSION(:), ALLOCATABLE :: xlon, xlat, xcost, xsintc, xsints, xcosn, xsinn
53 REAL, DIMENSION(:), ALLOCATABLE :: xsin
54 REAL :: xlonp, xlatp, xcosp, xsinp
55 REAL :: xpi, x1, x2, xdr
56 !
57 REAL, DIMENSION(:), ALLOCATABLE :: xxcen ! pseudo-longitude of center of grid mesh
58 REAL, DIMENSION(:), ALLOCATABLE :: xycen ! pseudo-latitude of center of grid mesh
59 REAL, DIMENSION(:), ALLOCATABLE :: xxinf ! pseudo-longitude western limit of grid mesh
60 REAL, DIMENSION(:), ALLOCATABLE :: xxsup ! pseudo-longitude eastern limit of grid mesh
61 REAL, DIMENSION(:), ALLOCATABLE :: xyinf ! pseudo-latitude southern limit of grid mesh
62 REAL, DIMENSION(:), ALLOCATABLE :: xysup ! pseudo-latitude northern limit of grid mesh
63 REAL, DIMENSION(:), ALLOCATABLE :: xxdif
64 REAL, DIMENSION(:), ALLOCATABLE :: xydif
65 !
66 INTEGER, DIMENSION(:), ALLOCATABLE::iindex_1km
67 INTEGER, DIMENSION(:), ALLOCATABLE::iindex_10km
68 INTEGER, DIMENSION(:), ALLOCATABLE::iindex_100km
69 INTEGER, DIMENSION(:), ALLOCATABLE::iissox_1km
70 INTEGER, DIMENSION(:), ALLOCATABLE::iissox_10km
71 INTEGER, DIMENSION(:), ALLOCATABLE::iissox_100km
72 INTEGER, DIMENSION(:), ALLOCATABLE::iissoy_1km
73 INTEGER, DIMENSION(:), ALLOCATABLE::iissoy_10km
74 INTEGER, DIMENSION(:), ALLOCATABLE::iissoy_100km
75 !
76 INTEGER, DIMENSION(:), ALLOCATABLE::imask_gauss
77 !
real, dimension(:), allocatable xsinn
integer, dimension(:), allocatable iissox_10km
real, dimension(:), allocatable xxinf
real, dimension(:), allocatable xxcen
integer, dimension(:), allocatable iissoy_100km
real, dimension(:), allocatable xysup
real, dimension(:), allocatable xlon
real, dimension(:), allocatable xycen
real, dimension(:), allocatable xsintc
real, dimension(:), allocatable xydif
integer, dimension(:), allocatable imask_gauss
integer, dimension(:), allocatable iindex_1km
integer, dimension(:), allocatable iissoy_1km
integer, dimension(:), allocatable nfacty
real, dimension(:), allocatable xyinf
integer, dimension(:), allocatable iissox_100km
integer, dimension(:,:), allocatable nfracdy
integer, dimension(:), allocatable iissoy_10km
real, dimension(:), allocatable xxsup
integer, dimension(:), allocatable nfracgx
real, dimension(:), allocatable xcosn
integer, dimension(:), allocatable iindex_100km
integer, dimension(:), allocatable nfracdx
integer, dimension(:), allocatable iindex_10km
real, dimension(:), allocatable xsints
integer, dimension(:), allocatable nnlopa
real, dimension(:), allocatable xsin
real, dimension(:), allocatable xxdif
integer, dimension(:), allocatable iissox_1km
real, dimension(:), allocatable xlat
real, dimension(:), allocatable xcost