SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
dealloc_townn.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_town_n
(TM, GDM, GRM, U)
7
! ###############################################################################
8
!
9
!!**** *DEALLOC_TOWN_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
USE
modd_surfex_n
, ONLY
:
teb_model_t
,
teb_garden_model_t
,
teb_greenroof_model_t
31
!
32
USE
modd_surf_atm_n
, ONLY
:
surf_atm_t
33
!
34
USE
yomhook
,ONLY
:
lhook
,
dr_hook
35
USE
parkind1
,ONLY
:
jprb
36
!
37
USE
modi_dealloc_ideal_flux
38
!
39
USE
modi_dealloc_teb_n
40
!
41
IMPLICIT NONE
42
!
43
!* 0.1 declarations of arguments
44
!
45
TYPE
(
teb_model_t
),
INTENT(INOUT)
:: TM
46
TYPE
(
teb_garden_model_t
),
INTENT(INOUT)
:: GDM
47
TYPE
(
teb_greenroof_model_t
),
INTENT(INOUT)
:: GRM
48
TYPE
(
surf_atm_t
),
INTENT(INOUT)
:: U
49
!
50
!* 0.2 declarations of local variables
51
!
52
!-------------------------------------------------------------------------------------
53
!
54
!
55
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
56
57
IF
(
lhook
)
CALL
dr_hook
(
'DEALLOC_TOWN_N'
,0,zhook_handle)
58
IF
(u%CTOWN==
'TEB '
)
THEN
59
CALL
dealloc_teb_n
(tm, gdm, grm)
60
ELSE
IF
(u%CTOWN==
'FLUX '
)
THEN
61
CALL
dealloc_ideal_flux
62
END IF
63
IF
(
lhook
)
CALL
dr_hook
(
'DEALLOC_TOWN_N'
,1,zhook_handle)
64
!
65
!-------------------------------------------------------------------------------------
66
!
67
END SUBROUTINE
dealloc_town_n
modd_surfex_n
Definition:
modd_surfexn.F90:5
modd_surf_atm_n::surf_atm_t
Definition:
modd_surf_atmn.F90:42
yomhook::dr_hook
Definition:
yomhook.F90:20
dealloc_ideal_flux
subroutine dealloc_ideal_flux
Definition:
dealloc_ideal_flux.F90:7
modd_surfex_n::teb_garden_model_t
Definition:
modd_surfexn.F90:174
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
dealloc_teb_n
subroutine dealloc_teb_n(TM, GDM, GRM)
Definition:
dealloc_tebn.F90:7
modd_surfex_n::teb_greenroof_model_t
Definition:
modd_surfexn.F90:187
modd_surf_atm_n
Definition:
modd_surf_atmn.F90:6
dealloc_town_n
subroutine dealloc_town_n(TM, GDM, GRM, U)
Definition:
dealloc_townn.F90:7
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
modd_surfex_n::teb_model_t
Definition:
modd_surfexn.F90:211
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:22 for SURFEX v8.1 by
1.8.13