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