SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
ini_ocean_csts.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 SUBROUTINE ini_ocean_csts
6 ! ##################
7 !
8 !!**** *INI_OCEAN_CSTS * - routine to initialize the module MODD_OCEAN_CSTS
9 !!
10 !! PURPOSE
11 !! -------
12 ! The purpose of this routine is to initialize the physical constants
13 ! stored in module MODD_OCEAN_CSTS.
14 !
15 !
16 !!** METHOD
17 !! ------
18 !! The physical constants are set to their numerical values
19 !!
20 !!
21 !! EXTERNAL
22 !! --------
23 !!
24 !!
25 !! IMPLICIT ARGUMENTS
26 !! ------------------
27 !! Module MODD_OCEAN_CST : contains physical constants
28 !!
29 !! REFERENCE
30 !! ---------
31 !!
32 !! AUTHOR
33 !! ------
34 !! C. Lebeaupin Brossier * Meteo France *
35 !!
36 !! MODIFICATIONS
37 !! -------------
38 !! Original 01/2008
39 !!
40 !-------------------------------------------------------------------------------
41 !
42 !* 0. DECLARATIONS
43 ! ------------
44 !
46 !
47 !
48 USE yomhook ,ONLY : lhook, dr_hook
49 USE parkind1 ,ONLY : jprb
50 !
51 IMPLICIT NONE
52 !
53 !-------------------------------------------------------------------------------
54 !
55 !
56 !* 1. THERMODYNAMICAL CONSTANTS OF SEAWATER
57 ! -------------------------------------
58 !
59 REAL(KIND=JPRB) :: zhook_handle
60 !
61 IF (lhook) CALL dr_hook('INI_OCEAN_CSTS',0,zhook_handle)
62 !
63 xrhosw=1024.
64 xrhoswref=1024.458
65 xcpsw=4178.4
66 !
67 !* 2. CORIOLIS FRACTION
68 ! -----------------
69 xgama=0.53
70 !
71 !* 3. TURBULENCE CONSTANTS
72 ! --------------------
73 xzce=1./0.7
74 xckl=0.1
75 !
76 !* 4. RADIATION CONSTANTS
77 ! --------------------
78 !from Jerlov's 1976 optical water C type I
79 xr=0.58
80 xd1=0.35
81 xd2=23.
82 !albedo of seawater
83 xalbedosw=0.06
84 !
85 IF (lhook) CALL dr_hook('INI_OCEAN_CSTS',1,zhook_handle)
86 !
87 !-------------------------------------------------------------------------------
88 !
89 END SUBROUTINE ini_ocean_csts
subroutine ini_ocean_csts