The TELEMAC-MASCARET system  trunk
bief_nbpel.f
Go to the documentation of this file.
1 ! ***************************
2  INTEGER FUNCTION bief_nbpel
3 ! ***************************
4 !
5  &(ielm,mesh)
6 !
7 !***********************************************************************
8 ! BIEF V6P1 21/08/2010
9 !***********************************************************************
10 !
11 !brief GIVES THE NUMBER OF NODES PER ELEMENT,
12 !+ FOR EACH TYPE OF ELEMENT.
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 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_NBPEL: WRONG ARGUMENT: ',1i6)
50  CALL plante(1)
51  stop
52  ELSE
53  bief_nbpel = mesh%NDS(ielm,3)
54  ENDIF
55 !
56 !-----------------------------------------------------------------------
57 !
58  RETURN
59  END
integer function bief_nbpel(IELM, MESH)
Definition: bief_nbpel.f:7