SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_seaflux_gridn.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_SEAFLUX_GRID - declaration of SEAFLUX grid
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! V. Masson *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !! Original 01/2004
29 !
30 !* 0. DECLARATIONS
31 ! ------------
32 !
33 !
34 USE yomhook ,ONLY : lhook, dr_hook
35 USE parkind1 ,ONLY : jprb
36 !
37 IMPLICIT NONE
38 
40 !-------------------------------------------------------------------------------
41 !
42 ! Grid definition
43 !
44  INTEGER :: NDIM ! number of points
45  CHARACTER(LEN=10) :: CGRID ! grid type
46 ! ! "NONE " : no grid computations
47 ! ! "CONF PROJ " : conformal projection
48 ! ! "SURF ATM " : SEA points of surf. atm. grid
49 !
50  REAL, POINTER, DIMENSION(:) :: XGRID_PAR ! lits of parameters used to define the grid
51 ! ! (depends on value of CGRID)
52 !
53 !-------------------------------------------------------------------------------
54 !
55 ! General surface parameters:
56 !
57  REAL, POINTER, DIMENSION(:) :: XLAT ! latitude (degrees +North) (-)
58  REAL, POINTER, DIMENSION(:) :: XLON ! longitude (degrees +East) (-)
59  REAL, POINTER, DIMENSION(:) :: XMESH_SIZE ! mesh size (m2)
60 !-------------------------------------------------------------------------------
61 !
62 
63 END TYPE seaflux_grid_t
64 
65 
66 
67  CONTAINS
68 
69 !
70 
71 
72 
73 
74 SUBROUTINE seaflux_grid_init(YSEAFLUX_GRID)
75 TYPE(seaflux_grid_t), INTENT(INOUT) :: yseaflux_grid
76 REAL(KIND=JPRB) :: zhook_handle
77 IF (lhook) CALL dr_hook("MODD_SEAFLUX_GRID_N:SEAFLUX_GRID_INIT",0,zhook_handle)
78  nullify(yseaflux_grid%XGRID_PAR)
79  nullify(yseaflux_grid%XLAT)
80  nullify(yseaflux_grid%XLON)
81  nullify(yseaflux_grid%XMESH_SIZE)
82 yseaflux_grid%NDIM=0
83 yseaflux_grid%CGRID=' '
84 IF (lhook) CALL dr_hook("MODD_SEAFLUX_GRID_N:SEAFLUX_GRID_INIT",1,zhook_handle)
85 END SUBROUTINE seaflux_grid_init
86 
87 
88 END MODULE modd_seaflux_grid_n
subroutine seaflux_grid_init(YSEAFLUX_GRID)