SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
get_qsn.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_qs_n
(DGO, D, HPROGRAM,KI,PQS)
7
! #########################################
8
!
9
!!**** *GET_QS_n* - routine to get roughness lengths
10
!!
11
!! PURPOSE
12
!! -------
13
!!
14
!!** METHOD
15
!! ------
16
!!
17
!! EXTERNAL
18
!! --------
19
!!
20
!!
21
!! IMPLICIT ARGUMENTS
22
!! ------------------
23
!!
24
!! REFERENCE
25
!! ---------
26
!!
27
!!
28
!! AUTHOR
29
!! ------
30
!! P. Le Moigne *Meteo France*
31
!!
32
!! MODIFICATIONS
33
!! -------------
34
!! Original 02/2006
35
!-------------------------------------------------------------------------------
36
!
37
!* 0. DECLARATIONS
38
! ------------
39
!
40
!
41
USE
modd_diag_n
, ONLY
:
diag_t
,
diag_options_t
42
!
43
USE
modi_get_luout
44
USE
modd_surf_par
, ONLY
:
xundef
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
(
diag_options_t
),
INTENT(IN)
:: DGO
58
TYPE
(
diag_t
),
INTENT(INOUT)
:: D
59
!
60
CHARACTER(LEN=6)
,
INTENT(IN)
:: HPROGRAM
61
INTEGER
,
INTENT(IN)
:: KI
! Number of points
62
REAL
,
DIMENSION(KI)
,
INTENT(OUT)
:: PQS
! roughness length for momentum (m)
63
!
64
!
65
!* 0.2 Declarations of local variables
66
! -------------------------------
67
!
68
INTEGER
:: ILUOUT
69
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
70
!
71
!-------------------------------------------------------------------------------
72
IF
(
lhook
)
CALL
dr_hook
(
'GET_QS_N'
,0,zhook_handle)
73
CALL
get_luout
(hprogram,iluout)
74
!-------------------------------------------------------------------------------
75
!
76
IF
(dgo%LSURF_VARS)
THEN
77
pqs = d%XQS
78
ELSE
79
pqs =
xundef
80
ENDIF
81
IF
(
lhook
)
CALL
dr_hook
(
'GET_QS_N'
,1,zhook_handle)
82
!
83
!==============================================================================
84
!
85
END SUBROUTINE
get_qs_n
modd_surf_par
Definition:
modd_surf_par.F90:6
yomhook::dr_hook
Definition:
yomhook.F90:20
get_qs_n
subroutine get_qs_n(DGO, D, HPROGRAM, KI, PQS)
Definition:
get_qsn.F90:7
modd_surf_par::xundef
real, parameter xundef
Definition:
modd_surf_par.F90:43
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
modd_diag_n::diag_t
Definition:
modd_diagn.F90:81
get_luout
subroutine get_luout(HPROGRAM, KLUOUT)
Definition:
get_luout.F90:7
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
modd_diag_n::diag_options_t
Definition:
modd_diagn.F90:46
parkind1
Definition:
parkind1.F90:1
modd_diag_n
Definition:
modd_diagn.F90:6
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:28 for SURFEX v8.1 by
1.8.13