The TELEMAC-MASCARET system  trunk
friction_def.f
Go to the documentation of this file.
1 ! *******************
2  MODULE friction_def
3 ! *******************
4 !
5 !
6 !***********************************************************************
7 ! TELEMAC2D V6P1 21/08/2010
8 !***********************************************************************
9 !
10 !history
11 !+
12 !+ V5P6
13 !+
14 !
15 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
16 !+ 13/07/2010
17 !+ V6P0
18 !+ Translation of French comments within the FORTRAN sources into
19 !+ English comments
20 !
21 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
22 !+ 21/08/2010
23 !+ V6P0
24 !+ Creation of DOXYGEN tags for automated documentation and
25 !+ cross-referencing of the FORTRAN sources
26 !
27 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 !
31 ! SEQUENCE
32  TYPE(friction_obj), POINTER :: p
33  END TYPE pointer_to_friction
34 !
35  TYPE friction_obj
36 ! SEQUENCE
37  INTEGER :: gnumb(2) ! GLOBAL NUMBER OF THE ZONE
38  INTEGER :: rtype ! TYPE OF LAW USED
39  INTEGER :: vtype
40  ! USE REAL BECAUSE CHESTR IS SAVED AS SIMPLE PRECISION IN SELAFIN DATA
41  ! --------------------------------------------------------------------
42  DOUBLE PRECISION :: rcoef ! FRICTION PARAMETER
43  DOUBLE PRECISION :: ndef ! DEFAULT MANNING (FOR C-W LAW)
44  DOUBLE PRECISION :: vcoef(15) ! 15 COEFFICIENTS
45 
46  TYPE(pointer_to_friction), POINTER, DIMENSION(:) :: adr
47  END TYPE friction_obj
48 !
49  END MODULE friction_def