SURFEX v8.1
General documentation of Surfex
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 (SM, 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 !
31 USE modd_surf_atm_n, ONLY : surf_atm_t
32 !
33 USE yomhook ,ONLY : lhook, dr_hook
34 USE parkind1 ,ONLY : jprb
35 !
36 USE modi_dealloc_ideal_flux
37 !
38 USE modi_dealloc_seaflux_n
39 !
40 IMPLICIT NONE
41 !
42 !* 0.1 declarations of arguments
43 !
44 !
45 !* 0.2 declarations of local variables
46 !
47 !-------------------------------------------------------------------------------------
48 !
49 TYPE(seaflux_model_t), INTENT(INOUT) :: SM
50 !
51 TYPE(surf_atm_t), INTENT(INOUT) :: U
52 !
53 REAL(KIND=JPRB) :: ZHOOK_HANDLE
54 
55 IF (lhook) CALL dr_hook('DEALLOC_SEA_N',0,zhook_handle)
56 IF (u%CSEA=='SEAFLX') THEN
57  CALL dealloc_seaflux_n(sm)
58 ELSE IF (u%CSEA=='FLUX ') THEN
60 END IF
61 IF (lhook) CALL dr_hook('DEALLOC_SEA_N',1,zhook_handle)
62 !
63 !-------------------------------------------------------------------------------------
64 !
65 END SUBROUTINE dealloc_sea_n
subroutine dealloc_ideal_flux
subroutine dealloc_sea_n(SM, U)
Definition: dealloc_sean.F90:7
subroutine dealloc_seaflux_n(SM)
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15