SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
LIB
XRD44
support
sucst_ifsaux.F90
Go to the documentation of this file.
1
SUBROUTINE
sucst_ifsaux
2
3
!**** *SUCST_IFSAUX * - Routine to initialize the constants of the model.
4
5
! Purpose.
6
! --------
7
! Initialize and print the common YOMCST_IFSAUX
8
! Should be consistent with the content of arp/setup/sucst.F90
9
! Do not use currently with LDYNCORE=T, RPLRADI /=1
10
11
!** Interface.
12
! ----------
13
! *CALL* *SUCST_IFSAUX (..)
14
15
! Explicit arguments :
16
! --------------------
17
! none
18
19
! Implicit arguments :
20
! --------------------
21
! COMMON YOMCST_IFSAUX
22
23
! Method.
24
! -------
25
! See documentation
26
27
! Externals.
28
! ----------
29
30
! Reference.
31
! ----------
32
! ECMWF Research Department documentation of the IFS
33
34
! Author.
35
! -------
36
! Mats Hamrud and Philippe Courtier *ECMWF*
37
38
! Modifications.
39
! --------------
40
! Original : 87-10-15
41
! K. Yessad (Jun 2009): IFSAUX version
42
! ------------------------------------------------------------------
43
44
USE
parkind1
,ONLY
:
jpim
,
jprb
45
USE
yomhook
,ONLY
:
lhook
,
dr_hook
46
47
USE
yomcst_ifsaux
, ONLY
:
xrpi
,
xra
48
49
! -----------------------------------------------------------------
50
51
IMPLICIT NONE
52
53
REAL(KIND=JPRB)
:: ZXRPLRADI
54
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
55
56
! -----------------------------------------------------------------
57
IF
(
lhook
)
CALL
dr_hook
(
'SUCST_IFSAUX'
,0,zhook_handle)
58
! -----------------------------------------------------------------
59
60
!* 1. DEFINE FUNDAMENTAL CONSTANTS.
61
! -----------------------------
62
63
xrpi
=2.0_jprb*asin(1.0_jprb)
64
65
! ------------------------------------------------------------------
66
67
!* 2. DEFINE GEOIDE.
68
! --------------
69
70
zxrplradi=1.0_jprb
71
xra
=6371229._jprb*zxrplradi
72
73
! ------------------------------------------------------------------
74
75
IF
(
lhook
)
CALL
dr_hook
(
'SUCST_IFSAUX'
,1,zhook_handle)
76
END SUBROUTINE
sucst_ifsaux
yomcst_ifsaux::xrpi
real(kind=jprb) xrpi
Definition:
yomcst_ifsaux.F90:15
parkind1::jpim
integer, parameter jpim
Definition:
parkind1.F90:13
yomhook::dr_hook
Definition:
yomhook.F90:20
sucst_ifsaux
subroutine sucst_ifsaux
Definition:
sucst_ifsaux.F90:2
yomcst_ifsaux::xra
real(kind=jprb) xra
Definition:
yomcst_ifsaux.F90:19
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
yomcst_ifsaux
Definition:
yomcst_ifsaux.F90:1
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:22 for SURFEX v8.1 by
1.8.13