SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
get_jcovern.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
get_jcover_n
(U, &
7
HPROGRAM,KCOVER)
8
! ########################################
9
!
10
!!**** *GET_JCOVER_n* - routine to get some surface fields
11
!!
12
!! PURPOSE
13
!! -------
14
!!
15
!!** METHOD
16
!! ------
17
!!
18
!! EXTERNAL
19
!! --------
20
!!
21
!!
22
!! IMPLICIT ARGUMENTS
23
!! ------------------
24
!!
25
!! REFERENCE
26
!! ---------
27
!!
28
!!
29
!! AUTHOR
30
!! ------
31
!! V. Masson *Meteo France*
32
!!
33
!! MODIFICATIONS
34
!! -------------
35
!! Original 01/2004
36
!-------------------------------------------------------------------------------
37
!
38
!* 0. DECLARATIONS
39
! ------------
40
!
41
!
42
USE
modd_surf_atm_n
, ONLY
:
surf_atm_t
43
!
44
USE
modi_get_luout
45
!
46
!
47
!
48
USE
yomhook
,ONLY
:
lhook
,
dr_hook
49
USE
parkind1
,ONLY
:
jprb
50
!
51
IMPLICIT NONE
52
!
53
!* 0.1 Declarations of arguments
54
! -------------------------
55
!
56
!
57
TYPE
(
surf_atm_t
),
INTENT(INOUT)
:: U
58
!
59
CHARACTER(LEN=6)
,
INTENT(IN)
:: HPROGRAM
60
INTEGER
,
INTENT(OUT)
:: KCOVER
! number of cover types
61
!
62
!
63
!* 0.2 Declarations of local variables
64
! -------------------------------
65
!
66
INTEGER
:: ILUOUT
67
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
68
!
69
!-------------------------------------------------------------------------------
70
IF
(
lhook
)
CALL
dr_hook
(
'GET_JCOVER_N'
,0,zhook_handle)
71
CALL
get_luout
(hprogram,iluout)
72
!-------------------------------------------------------------------------------
73
!
74
kcover =
count
(u%LCOVER)
75
IF
(
lhook
)
CALL
dr_hook
(
'GET_JCOVER_N'
,1,zhook_handle)
76
!
77
!==============================================================================
78
!
79
END SUBROUTINE
get_jcover_n
modd_surf_atm_n::surf_atm_t
Definition:
modd_surf_atmn.F90:42
yomhook::dr_hook
Definition:
yomhook.F90:20
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
modd_surf_atm_n
Definition:
modd_surf_atmn.F90:6
get_luout
subroutine get_luout(HPROGRAM, KLUOUT)
Definition:
get_luout.F90:7
get_jcover_n
subroutine get_jcover_n(U, HPROGRAM, KCOVER)
Definition:
get_jcovern.F90:8
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
yomhook
Definition:
yomhook.F90:1
count
static int count
Definition:
memory_hook.c:21
Generated on Tue Jan 16 2018 16:23:28 for SURFEX v8.1 by
1.8.13