SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
dealloc_sean.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 ! #########
6 SUBROUTINE dealloc_sea_n (CHS, SG, S, U)
7 ! ###############################################################################
8 !
9 !!**** *DEALLOC_SEA_n * - Deallocate all arrays
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!** METHOD
15 !! ------
16 !!
17 !! REFERENCE
18 !! ---------
19 !!
20 !!
21 !! AUTHOR
22 !! ------
23 !! V. Masson
24 !!
25 !! MODIFICATIONS
26 !! -------------
27 !! Original 01/2004
28 !!------------------------------------------------------------------
29 !
30 
31 !
32 !
33 !
34 !
35 !
38 USE modd_seaflux_n, ONLY : seaflux_t
39 USE modd_surf_atm_n, ONLY : surf_atm_t
40 !
41 USE yomhook ,ONLY : lhook, dr_hook
42 USE parkind1 ,ONLY : jprb
43 !
44 USE modi_dealloc_ideal_flux
45 !
46 USE modi_dealloc_seaflux_n
47 !
48 IMPLICIT NONE
49 !
50 !* 0.1 declarations of arguments
51 !
52 !
53 !* 0.2 declarations of local variables
54 !
55 !-------------------------------------------------------------------------------------
56 !
57 
58 !
59 TYPE(ch_seaflux_t), INTENT(INOUT) :: chs
60 TYPE(seaflux_grid_t), INTENT(INOUT) :: sg
61 TYPE(seaflux_t), INTENT(INOUT) :: s
62 TYPE(surf_atm_t), INTENT(INOUT) :: u
63 !
64 REAL(KIND=JPRB) :: zhook_handle
65 
66 IF (lhook) CALL dr_hook('DEALLOC_SEA_N',0,zhook_handle)
67 IF (u%CSEA=='SEAFLX') THEN
68  CALL dealloc_seaflux_n(chs, sg, s)
69 ELSE IF (u%CSEA=='FLUX ') THEN
71 END IF
72 IF (lhook) CALL dr_hook('DEALLOC_SEA_N',1,zhook_handle)
73 !
74 !-------------------------------------------------------------------------------------
75 !
76 END SUBROUTINE dealloc_sea_n
subroutine dealloc_ideal_flux
subroutine dealloc_sea_n(CHS, SG, S, U)
Definition: dealloc_sean.F90:6
subroutine dealloc_seaflux_n(CHS, SG, S)