The TELEMAC-MASCARET system  trunk
init_constant.F
Go to the documentation of this file.
1 ! ************************
2  SUBROUTINE init_constant
3 ! ************************
4 !
5  &(karim_holly_yang,karman,pi)
6 !
7 !***********************************************************************
8 ! SISYPHE V7P1
9 !***********************************************************************
10 !
11 !brief SETS THE CONSTANTS USED BY SISYPHE.
12 !
13 !history F. HUVELIN
14 !+ 11/01/2004
15 !+ V5P7
16 !+
17 !
18 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
19 !+ 13/07/2010
20 !+ V6P0
21 !+ Translation of French comments within the FORTRAN sources into
22 !+ English comments
23 !
24 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
25 !+ 21/08/2010
26 !+ V6P0
27 !+ Creation of DOXYGEN tags for automated documentation and
28 !+ cross-referencing of the FORTRAN sources
29 !
30 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 !| KARIM_HOLLY_YAN|-->| KARIM, HOLLY & YANG CONSTANT
32 !| KARMAN |-->| VON KARMAN CONSTANT
33 !| PI |-->| PI
34 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 !
37  IMPLICIT NONE
38 !
39 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
40 !
41  DOUBLE PRECISION, INTENT(INOUT) :: KARIM_HOLLY_YANG
42  DOUBLE PRECISION, INTENT(INOUT) :: KARMAN
43  DOUBLE PRECISION, INTENT(INOUT) :: PI
44 !
45 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46 !
47 ! KARIM, HOLLY & YANG CONSTANT
48 ! ----------------------------
49 !
50  karim_holly_yang = 0.85d0
51 !
52 ! VON KARMAN CONSTANT
53 ! -------------------
54 !
55  karman = 0.4d0
56 !
57 ! PARTHENIADES CONSTANT : EXPRESSED IN M/S
58 ! ---------------------
59 ! THIS VALUE IS NOW GIVEN IN USER_KRONE_PART
60 ! PARTHENIADES = 2.D-5/XMVS
61 !
62 ! PI
63 ! --
64 !
65  pi = 4.d0 * atan( 1.d0 )
66 !
67 !======================================================================!
68 !
69  RETURN
70  END
subroutine init_constant(KARIM_HOLLY_YANG, KARMAN, PI)
Definition: init_constant.F:7