The TELEMAC-MASCARET system  trunk
bief_nbfel.f
Go to the documentation of this file.
1 ! ***************************
2  INTEGER FUNCTION bief_nbfel
3 ! ***************************
4 !
5  &(ielm,mesh)
6 !
7 !***********************************************************************
8 ! BIEF V6P1 21/08/2010
9 !***********************************************************************
10 !
11 !brief GIVES THE NUMBER OF SIDES PER ELEMENT,
12 !+ 3 FOR A TRIANGLE FOR EXAMPLE.
13 !
14 !history J-M HERVOUET (LNH)
15 !+ 08/04/04
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 !| IELM |-->| TYPE OF ELEMENT
33 !| MESH |-->| MESH STRUCTURE
34 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 !
36  USE bief_def
38  IMPLICIT NONE
39 !
40 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
41 !
42  INTEGER, INTENT(IN) :: IELM
43  TYPE(bief_mesh), INTENT(IN) :: MESH
44 !
45 !+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46 !
47  IF(ielm.LT.0.OR.ielm.GT.81) THEN
48  WRITE(lu,201) ielm
49  201 FORMAT(1x,'BIEF_NBFEL: WRONG ARGUMENT: ',1i6)
50  CALL plante(1)
51  stop
52  ENDIF
53 !
54  bief_nbfel = mesh%NDS(ielm,4)
55 !
56 !-----------------------------------------------------------------------
57 !
58  RETURN
59  END
integer function bief_nbfel(IELM, MESH)
Definition: bief_nbfel.f:7