The TELEMAC-MASCARET system
trunk
sources
tomawac
tomawac_constants.f
Go to the documentation of this file.
1
! ****************************
2
SUBROUTINE
tomawac_constants
3
! ****************************
4
!
5
!
6
!***********************************************************************
7
! TOMAWAC V6P3 14/06/2011
8
!***********************************************************************
9
!
10
!brief Sets a number of constants used by Tomawac, like PI, etc.
11
!
12
!
13
!history J-M HERVOUET (EDF-LNHE)
14
!+ 27/11/2012
15
!+ V6P3
16
!+ First version
17
!
18
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
!| |---|
20
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21
!
22
USE
declarations_tomawac
23
USE
declarations_special
24
IMPLICIT NONE
25
!
26
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27
!
28
! VARIOUS CONSTANTS LINKED TO PI
29
!
30
pi
= 4.d0 * atan( 1.d0 )
31
deupi
= 2.d0*
pi
32
pisur2
=
pi
/2.d0
33
usdpi
= 1.d0/
deupi
34
gradeg
= 180.d0/
pi
35
degrad
=
pi
/180.d0
36
!
37
! GRAVITY ACCELERATION
38
!
39
gravit
= 9.81d0
40
!
41
! SQUARE AND INVERSE OF EARTH RADIUS
42
!
43
r2
= (6400.d3)**2
44
sr
= 1.d0/6400.d3
45
!
46
!-----------------------------------------------------------------------
47
!
48
RETURN
49
END
tomawac_constants
subroutine tomawac_constants
Definition:
tomawac_constants.f:4
declarations_special
Definition:
declarations_special.F:3
declarations_tomawac::usdpi
double precision usdpi
Definition:
declarations_tomawac.f:1299
declarations_tomawac::pisur2
double precision pisur2
Definition:
declarations_tomawac.f:1298
declarations_tomawac::sr
double precision sr
Definition:
declarations_tomawac.f:1299
declarations_tomawac::degrad
double precision degrad
Definition:
declarations_tomawac.f:1298
declarations_tomawac
Definition:
declarations_tomawac.f:3
declarations_tomawac::deupi
double precision deupi
Definition:
declarations_tomawac.f:1298
declarations_tomawac::gradeg
double precision gradeg
Definition:
declarations_tomawac.f:1298
declarations_tomawac::pi
double precision pi
Definition:
declarations_tomawac.f:1298
declarations_tomawac::gravit
double precision gravit
Definition:
declarations_tomawac.f:1298
declarations_tomawac::r2
double precision r2
Definition:
declarations_tomawac.f:1299