The TELEMAC-MASCARET system  trunk
impvec.f
Go to the documentation of this file.
1 ! *****************
2  SUBROUTINE impvec
3 ! *****************
4 !
5  &(vec,nom,npoin)
6 !
7 !***********************************************************************
8 ! BIEF V6P1 21/08/2010
9 !***********************************************************************
10 !
11 !brief PRINTS OUT A VECTOR ON THE LISTING.
12 !
13 !warning PRINTS OUT FOR REGULAR GRIDS ARE NOT IMPLEMENTED
14 !
15 !history J-M HERVOUET
16 !+ 17/08/94
17 !+ V5P1
18 !+
19 !
20 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
21 !+ 13/07/2010
22 !+ V6P0
23 !+ Translation of French comments within the FORTRAN sources into
24 !+ English comments
25 !
26 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
27 !+ 21/08/2010
28 !+ V6P0
29 !+ Creation of DOXYGEN tags for automated documentation and
30 !+ cross-referencing of the FORTRAN sources
31 !
32 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 !| NOM |-->| NAME OF VECTOR (OR SIMPLY A COMMENT).
34 !| NPOIN |-->| NUMBER OF POINTS.
35 !| VEC |-->| VECTOR TO BE PRINTED.
36 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 !
39  IMPLICIT NONE
40 !
41 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42 !
43  INTEGER, INTENT(IN) :: NPOIN
44  DOUBLE PRECISION, INTENT(IN) :: VEC(npoin)
45  CHARACTER(LEN=32), INTENT(IN) :: NOM
46 !
47 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
48 !
49  INTEGER IPOIN
50 !
51 !-----------------------------------------------------------------------
52 !
53  WRITE(lu,'(//,1X,A32,//)') nom
54 !
55  WRITE(lu,40) (ipoin,vec(ipoin),ipoin=1,npoin)
56 40 FORMAT(7(1x,1i5,':',g13.5))
57 !
58 !-----------------------------------------------------------------------
59 !
60  RETURN
61  END
subroutine impvec(VEC, NOM, NPOIN)
Definition: impvec.f:7