The TELEMAC-MASCARET system
trunk
sources
utils
bief
dmo.f
Go to the documentation of this file.
1
! *****************************
2
DOUBLE PRECISION
FUNCTION
dmo
3
! *****************************
4
!
5
&(t)
6
!
7
!***********************************************************************
8
! BIEF V6P1 21/08/2010
9
!***********************************************************************
10
!
11
!brief COMPUTES AN ANGLE MODULO 2PI.
12
!
13
!history E. DAVID (LHF)
14
!+ 12/07/95
15
!+ V5P1
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
!| T |-->| THE ANGLE.
32
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
!
34
USE
declarations_special
35
IMPLICIT NONE
36
!
37
!
38
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
39
!
40
DOUBLE PRECISION
,
INTENT(IN)
:: T
41
!
42
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
43
!
44
DOUBLE PRECISION
D
45
INTRINSIC
acos,mod
46
!
47
!---------------------------------------------------------------
48
!
49
d = mod(t,360.d0)
50
IF
(d.LT.0.d0) d=d+360.d0
51
dmo
= d * acos(-1.d0) / 180.d0
52
!
53
!---------------------------------------------------------------
54
!
55
RETURN
56
END
declarations_special
Definition:
declarations_special.F:3
dmo
double precision function dmo(T)
Definition:
dmo.f:7