The TELEMAC-MASCARET system
trunk
sources
artemis
fcte2.f
Go to the documentation of this file.
1
! *******************************
2
DOUBLE PRECISION
FUNCTION
fcte2
3
! *******************************
4
!
5
&(xx)
6
!
7
!***********************************************************************
8
! ARTEMIS V6P1 31/05/2011
9
!***********************************************************************
10
!
11
!brief EVALUATE FUNCTION E2(KH) FOR SECOND
12
!+ ORDER BOTTOM EFFECTS (CURVATURE)
13
!
14
!history C.PEYRARD
15
!+ 31/05/2011
16
!+ V6P1
17
!+
18
!
19
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
!| XX |-->| K*H
21
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22
!
23
USE
interface_artemis
, ex_fcte2 =>
fcte2
24
IMPLICIT NONE
25
!
26
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
27
!
28
DOUBLE PRECISION
,
INTENT(IN)
:: XX
29
!
30
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
31
!
32
DOUBLE PRECISION
CHHX,SHHX , THHX,XXX
33
INTRINSIC
sinh, cosh
34
!
35
xxx = 2.d0*xx
36
!
37
IF
(xxx.LT.0.001d0)
THEN
38
fcte2
=-1.d0/12.d0
39
ELSE
40
shhx = sinh(xxx)
41
chhx = cosh(xxx)
42
thhx = shhx/chhx
43
fcte2
=(thhx-xxx)*chhx/(xxx*(shhx+xxx)**2)
44
ENDIF
45
!
46
!-----------------------------------------------------------------------
47
!
48
RETURN
49
END
interface_artemis
Definition:
interface_artemis.f:11
fcte2
double precision function fcte2(XX)
Definition:
fcte2.f:7