The TELEMAC-MASCARET system  trunk
config_code.f
Go to the documentation of this file.
1 ! **********************
2  SUBROUTINE config_code
3 ! **********************
4 !
5  &(icode)
6 !
7 !***********************************************************************
8 ! BIEF V6P1 21/08/2010
9 !***********************************************************************
10 !
11 !brief 1) RESETS CORRESPONDING LOGICAL UNITS AND FILE NAMES
12 !+ WHEN THERE ARE SEVERAL PROGRAMS COUPLED.
13 !
14 !history J-M HERVOUET (LNH)
15 !+
16 !+ V5P5
17 !+
18 !
19 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
20 !+ 13/07/2010
21 !+ V6P0
22 !+ Translation of French comments within the FORTRAN sources into
23 !+ English comments
24 !
25 !history N.DURAND (HRW), S.E.BOURBAN (HRW)
26 !+ 21/08/2010
27 !+ V6P0
28 !+ Creation of DOXYGEN tags for automated documentation and
29 !+ cross-referencing of the FORTRAN sources
30 !
31 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 !| ICODE |-->| CODE NUMBER IN CASE OF COUPLING
33 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 !
35  USE bief, ex_config_code => config_code
37 !
39  IMPLICIT NONE
40 !
41 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42 !
43  INTEGER , INTENT(IN) :: ICODE
44 !
45 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46 !
47 ! SETS NAME OF CURRENT CODE
48 !
49  namecode = nnamecode(icode)
50 !
51 !-----------------------------------------------------------------------
52 !
53  RETURN
54  END
character(len=24), dimension(6) nnamecode
character(len=24) namecode
subroutine config_code(ICODE)
Definition: config_code.f:7
Definition: bief.f:3