The TELEMAC-MASCARET system  trunk
comp_ikle.f
Go to the documentation of this file.
1 ! ********************
2  SUBROUTINE comp_ikle
3 ! ********************
4 !
5  &(ikle,iklbor,eltseg,nbor,nelbor,nulone,
6  & ielm,nelem,nelmax,npoin,nptfr,neleb,nelebx)
7 !
8 !***********************************************************************
9 ! BIEF V7P0 28/03/2014
10 !***********************************************************************
11 !
12 !brief EXTENDS THE CONNECTIVITY TABLES AND ARRAY NBOR.
13 !
14 !history J-M HERVOUET (LNHE)
15 !+ 20/03/2008
16 !+ V5P9
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 !history J-M HERVOUET (LNHE)
32 !+ 16/05/2012
33 !+ V6P2
34 !+ New arguments passed to CPIK13.
35 !
36 !history J-M HERVOUET (LNHE)
37 !+ 28/03/2014
38 !+ V7P0
39 !+ Adaoted to new numbering of boundary segments.
40 !
41 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42 !| ELTSEG |-->| SEGMENT NUMBERS OF AN ELEMENT
43 !| IELM |-->| TYPE OF ELEMENT
44 !| IKLBOR |<->| CONNECTIVITY TABLE FOR BOUNDARY POINTS
45 !| IKLE |<->| CONNECTIVITY TABLE FOR ALL POINTS
46 !| NBOR |<->| GLOBAL NUMBERS OF BOUNDARY POINTS
47 !| NELBOR |-->| BOUNDARY ELEMENT THAT CONTAINS SEGMENT K
48 !| NELEB |-->| NUMBER OF BOUNDARY SEGMENTS
49 !| NELEBX |-->| MAXIMUM NUMBER OF BOUNDARY SEGMENTS
50 !| NELEM |-->| NOMBRE D'ELEMENTS
51 !| NELMAX |-->| NOMBRE MAXIMUM D'ELEMENTS
52 !| NPOIN |-->| NOMBRE DE SOMMETS DU MAILLAGE
53 !| NPTFR |-->| NUMBER OF (LINEAR) BOUNDARY POINTS
54 !| NULONE |-->| LOCAL NUMBER OF K IN ELEMENT NELBOR
55 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 !
57  USE bief, ex_comp_ikle => comp_ikle
58 !
60  IMPLICIT NONE
61 !
62 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
63 !
64  INTEGER, INTENT(IN) :: NELEM,NELMAX,IELM,NPOIN,NPTFR
65  INTEGER, INTENT(IN) :: NELEB,NELEBX
66  INTEGER, INTENT(IN) :: ELTSEG(nelmax,3)
67  INTEGER, INTENT(IN) :: NELBOR(nelebx),NULONE(nelebx)
68  INTEGER, INTENT(INOUT) :: IKLE(nelmax,*),IKLBOR(nelebx,*),NBOR(*)
69 !
70 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
71 !
72  IF(ielm.EQ.12) THEN
73 !
74  CALL cpik12(ikle,nelem,nelmax,npoin)
75 !
76  ELSEIF(ielm.EQ.13.OR.ielm.EQ.14) THEN
77 !
78  CALL cpik13(ikle,iklbor,eltseg,nbor,nelbor,nulone,
79  & nelem,nelmax,npoin,nptfr,neleb,nelebx)
80 !
81  ELSE
82 !
83  WRITE(lu,11) ielm
84 11 FORMAT(1x,'COMP_IKLE: DISCRETIZATION NOT IMPLEMENTED:',i6)
85  CALL plante(1)
86  stop
87 !
88  ENDIF
89 !
90 !-----------------------------------------------------------------------
91 !
92  RETURN
93  END
subroutine comp_ikle(IKLE, IKLBOR, ELTSEG, NBOR, NELBOR, NULONE, IELM, NELEM, NELMAX, NPOIN, NPTFR, NELEB, NELEBX)
Definition: comp_ikle.f:8
subroutine cpik13(IKLE, IKLBOR, ELTSEG, NBOR, NELBOR, NULONE, NELEM, NELMAX, NPOIN, NPTFR, NELEB, NELEBX)
Definition: cpik13.f:8
subroutine cpik12(IKLE, NELEM, NELMAX, NPOIN)
Definition: cpik12.f:7
Definition: bief.f:3