The TELEMAC-MASCARET system
trunk
sources
stbtel
point_stbtel.f
Go to the documentation of this file.
1
! ***********************
2
SUBROUTINE
point_stbtel
3
! ***********************
4
!
5
!***********************************************************************
6
! PROGICIEL : STBTEL V5.2 09/08/89 J-C GALLAND (LNH)
7
! 19/02/93 J-M JANIN (LNH)
8
! 21/08/96 P CHAILLET (LHF) - FASTTABS
9
! 09/98 A. CABAL / SOGREAH
10
! ORIGINE : ULYSSE
11
!***********************************************************************
12
!
13
! FONCTION : CONSTRUCTION DES POINTEURS DES TABLEAUX A ET IA
14
!
15
!-----------------------------------------------------------------------
16
! ARGUMENTS
17
! .________________.____.______________________________________________
18
! | NOM |MODE| ROLE
19
! |________________|____|______________________________________________
20
! | IDIMA | -->| DIMENSION DU TABLEAU A
21
! | IDIMIA | -->| DIMENSION DU TABLEAU IA
22
! | NBAT | -->| NOMBRE DE POINTS DE BATHY
23
! | NBFOND | -->| NOMBRE DE FICHIERS BATHY
24
! | MAILLE | -->| NOM DU MAILLEUR
25
! | | -->| POUR LA LECTURE DU FICHIER SIMAIL
26
! | arguments rajoutes pour l'option d'elimination des elements secs
27
! | ELISEC | -->| BOOLEAN INDIQUANT SI ELIMINATION DES POINTS SECS
28
! | | | EST DEMANDEE
29
! | fin arguments rajoutes pour l'option d'elimination des elements secs
30
! |________________|____|______________________________________________
31
! | COMMON | |
32
! | K... |<-- | POINTEURS DU TABLEAU ENTIER
33
! | GEO: | |
34
! | MESH |--> | TYPE DE MAILLAGE
35
! | NDP |--> | NOMBRE DE NOEUDS PAR ELEMENTS
36
! | NPOIN |--> | NOMBRE TOTAL DE POINTS DU MAILLAGE
37
! | NELEM |--> | NOMBRE TOTAL D'ELEMENTS DU MAILLAGE
38
! | NPMAX |<-- | DIMENSION EFFECTIVE DES TABLEAUX X ET Y
39
! | | | (NPMAX = NPOIN + 0.1*NELEM)
40
! | NELMAX |<-- | DIMENSION EFFECTIVE DES TABLEAUX CONCERNANT
41
! | | | LES ELEMENTS (NELMAX = NELEM + 0.2*NELEM)
42
! |________________|____|______________________________________________
43
! MODE : -->(DONNEE NON MODIFIEE), <--(RESULTAT), <-->(DONNEE MODIFIEE)
44
!----------------------------------------------------------------------
45
! APPELE PAR : HOMERE
46
! APPEL DE : -
47
!***********************************************************************
48
!
49
USE
declarations_special
50
USE
declarations_stbtel
51
IMPLICIT NONE
52
!
53
!=======================================================================
54
! POUR PREVOIR L'ELIMINATION DES TRIANGLES SURCONTRAINTS , LES VALEURS
55
! DE NPOIN ET NELEM2 SONT SURDIMENSIONNEES
56
!=======================================================================
57
!
58
npmax
=
npoin
+ int(0.1*
nelem
)
59
nelmax
=
nelem
+ 2*int(0.1*
nelem
)
60
IF
(
div4
)
npmax
=
npmax
+ 3*
nelem
61
IF
(
div4
)
nelmax
=
nelmax
+ 3*
nelem
62
!
63
RETURN
64
END
declarations_special
Definition:
declarations_special.F:3
declarations_stbtel::npoin
integer npoin
Definition:
declarations_stbtel.F:25
declarations_stbtel::div4
logical div4
Definition:
declarations_stbtel.F:46
point_stbtel
subroutine point_stbtel
Definition:
point_stbtel.f:4
declarations_stbtel
Definition:
declarations_stbtel.F:5
declarations_stbtel::npmax
integer npmax
Definition:
declarations_stbtel.F:27
declarations_stbtel::nelem
integer nelem
Definition:
declarations_stbtel.F:22
declarations_stbtel::nelmax
integer nelmax
Definition:
declarations_stbtel.F:26