The TELEMAC-MASCARET system  trunk
tom_corfon.f
Go to the documentation of this file.
1 ! *********************
2  SUBROUTINE tom_corfon
3 ! *********************
4 !
5 !
6 !***********************************************************************
7 ! TOMAWAC V6P1 14/06/2011
8 !***********************************************************************
9 !
10 !brief MODIFIES THE BOTTOM TOPOGRAPHY.
11 !
12 !history F. MARCOS
13 !+
14 !+
15 !+
16 !
17 !history OPTIMER ( )
18 !+ 12/01/2001
19 !+
20 !+ TOMAWAC/COWADIS MERGE
21 !
22 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
23 !+ 13/07/2010
24 !+ V6P0
25 !+ Translation of French comments within the FORTRAN sources into
26 !+ English comments
27 !
28 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
29 !+ 21/08/2010
30 !+ V6P0
31 !+ Creation of DOXYGEN tags for automated documentation and
32 !+ cross-referencing of the FORTRAN sources
33 !
34 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 !
37  USE bief
39 !
41  USE interface_tomawac, ex_tom_corfon => tom_corfon
42  IMPLICIT NONE
43 !
44 !
45 !
46 !-----------------------------------------------------------------------
47 !
48 ! SMOOTHING(S) OF THE BOTTOM (OPTIONAL)
49 !
50  IF(lisfon.GT.0) THEN
51 !
52  CALL filter(szf,.true.,st1,st2,am1,'MATMAS ',
53  & 1.d0,st1,st1,st1,st1,st1,st1,mesh,.false.,st1,lisfon)
54 !
55  ENDIF
56 !
57 !-----------------------------------------------------------------------
58 !
59  IF(lisfon.EQ.0) THEN
60  WRITE(lu,*)
61  WRITE(lu,*) 'TOM_CORFON : NO MODIFICATION OF BOTTOM'
62  WRITE(lu,*)
63  ELSE
64  WRITE(lu,*)
65  WRITE(lu,*) 'TOM_CORFON : ',lisfon,' BOTTOM SMOOTHINGS'
66  WRITE(lu,*)
67  ENDIF
68  ! USER FUNCTION
69  CALL user_tom_corfon
70 !
71 !-----------------------------------------------------------------------
72 !
73  RETURN
74  END
subroutine user_tom_corfon
subroutine filter(VEC, BLDMAT, T1, T2, A, FORMUL, XMUL, F, G, H, U, V, W, MESH, MSK, MASKEL, N)
Definition: filter.f:10
type(bief_obj), target am1
type(bief_obj), target st2
type(bief_obj), target szf
subroutine tom_corfon
Definition: tom_corfon.f:4
type(bief_obj), target st1
type(bief_mesh), target mesh
Definition: bief.f:3