SURFEX v8.1
General documentation of Surfex
modd_diag_misc_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_misc_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_misc_seaice_t
54 
55 CONTAINS
56 
57 !
58 
59 
60 
61 
62 
63 SUBROUTINE diag_misc_seaice_init(YDIAG_MISC_SEAICE)
64 TYPE(diag_misc_seaice_t), INTENT(INOUT) :: YDIAG_MISC_SEAICE
65 REAL(KIND=JPRB) :: ZHOOK_HANDLE
66 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_SEAICE_N:DIAG_MISC_SEAICE_INIT",0,zhook_handle)
67  NULLIFY(ydiag_misc_seaice%XSIT)
68  NULLIFY(ydiag_misc_seaice%XSND)
69  NULLIFY(ydiag_misc_seaice%XMLT)
70 ydiag_misc_seaice%LDIAG_MISC_SEAICE=.false.
71 IF (lhook) CALL dr_hook("MODD_DIAG_MISC_SEAICE_N:DIAG_MISC_SEAICE_INIT",1,zhook_handle)
72 END SUBROUTINE diag_misc_seaice_init
73 
74 
75 END MODULE modd_diag_misc_seaice_n
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15
subroutine diag_misc_seaice_init(YDIAG_MISC_SEAICE)