SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
modd_diag_seaicen.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_DIAG_SEAICE - declaration of diagnostics for sea ice model
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! S.Sénési *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !! Original 08/2013
29 !
30 !* 0. DECLARATIONS
31 ! ------------
32 !
33 !
34 !
35 USE yomhook ,ONLY : lhook, dr_hook
36 USE parkind1 ,ONLY : jprb
37 !
38 IMPLICIT NONE
39 
41 !------------------------------------------------------------------------------
42 !
43  LOGICAL :: LDIAG_SEAICE ! flag for SeaIce variables
44 !
45 !* averaged variables
46 !
47  REAL, POINTER, DIMENSION(:) :: XSIT ! Sea ice thickness
48  REAL, POINTER, DIMENSION(:) :: XSND ! Sea ice snow depth
49  REAL, POINTER, DIMENSION(:) :: XMLT ! Sea mixed layer temp. seen by Gelato
50 !------------------------------------------------------------------------------
51 !
52 
53 END TYPE diag_seaice_t
54 
55 
56 
57  CONTAINS
58 
59 !
60 
61 
62 
63 
64 
65 SUBROUTINE diag_seaice_init(YDIAG_SEAICE)
66 TYPE(diag_seaice_t), INTENT(INOUT) :: ydiag_seaice
67 REAL(KIND=JPRB) :: zhook_handle
68 IF (lhook) CALL dr_hook("MODD_DIAG_SEAICE_N:DIAG_SEAICE_INIT",0,zhook_handle)
69  nullify(ydiag_seaice%XSIT)
70  nullify(ydiag_seaice%XSND)
71  nullify(ydiag_seaice%XMLT)
72 ydiag_seaice%LDIAG_SEAICE=.false.
73 IF (lhook) CALL dr_hook("MODD_DIAG_SEAICE_N:DIAG_SEAICE_INIT",1,zhook_handle)
74 END SUBROUTINE diag_seaice_init
75 
76 
77 END MODULE modd_diag_seaice_n
subroutine diag_seaice_init(YDIAG_SEAICE)