The TELEMAC-MASCARET system  trunk
anacos.f
Go to the documentation of this file.
1 ! *****************
2  SUBROUTINE anacos
3 ! *****************
4 !***********************************************************************
5 ! TOMAWAC V6P1 09/06/2011
6 !***********************************************************************
7 !
8 !brief SPECIFIES A ! STATIONARY ! ANALYTICAL CURRENT.
9 !
10 !history
11 !+ 07/06/2001
12 !+ V5P2
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 !history G.MATTAROLO (EDF - LNHE)
28 !+ 08/06/2011
29 !+ V6P1
30 !+ Translation of French names of the variables in argument
31 !
32 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 !| NPOIN2 |-->| NUMBER OF POINTS IN 2D
34 !| UC |<--| CURRENT VELOCITY ALONG X AT THE MESH POINTS
35 !| VC |<--| CURRENT VELOCITY ALONG Y AT THE MESH POINTS
36 !| X |-->| ABSCISSAE OF POINTS IN THE MESH
37 !| Y |-->| ORDINATES OF POINTS IN THE MESH
38 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 !
41  USE declarations_tomawac, ONLY : uc, vc, npoin2
42  USE interface_tomawac, ex_anacos => anacos
43  IMPLICIT NONE
44 !
45 !.....LOCAL VARIABLES
46 ! """""""""""""""""
47  INTEGER IP
48  DOUBLE PRECISION UCONST, VCONST
49 !
50 !
51  uconst=0.d0
52  vconst=0.d0
53 !
54  DO ip=1,npoin2
55  uc(ip)=uconst
56  vc(ip)=vconst
57  ENDDO ! IP
58 !
59  ! USER FUNCTION
60  CALL user_anacos
61  RETURN
62  END
subroutine anacos
Definition: anacos.f:4
double precision, dimension(:), pointer vc
double precision, dimension(:), pointer uc
subroutine user_anacos
Definition: user_anacos.f:4