The TELEMAC-MASCARET system
trunk
sources
utils
bief
bief_nbseg.f
Go to the documentation of this file.
1
! ***************************
2
INTEGER
FUNCTION
bief_nbseg
3
! ***************************
4
!
5
&(ielm,mesh)
6
!
7
!***********************************************************************
8
! BIEF V6P1 21/08/2010
9
!***********************************************************************
10
!
11
!brief GIVES THE NUMBER OF SEGMENTS IN THE MESH
12
!+ FOR A TYPE OF ELEMENT.
13
!
14
!history J-M HERVOUET (LNH)
15
!+ 08/08/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
37
USE
declarations_special
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.OR.ielm.EQ.71)
THEN
48
WRITE
(
lu
,201) ielm
49
201
FORMAT
(1x,
'BIEF_NBSEG: WRONG ARGUMENT: '
,1i6)
50
CALL
plante(1)
51
stop
52
ENDIF
53
!
54
bief_nbseg
= mesh%NDS(ielm,2)
55
!
56
!-----------------------------------------------------------------------
57
!
58
RETURN
59
END
declarations_special
Definition:
declarations_special.F:3
declarations_special::lu
integer lu
Definition:
declarations_special.F:45
bief_def::bief_mesh
Definition:
bief_def.f:211
bief_def
Definition:
bief_def.f:3
bief_nbseg
integer function bief_nbseg(IELM, MESH)
Definition:
bief_nbseg.f:7