OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i7dstk.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| i7dstk ../engine/source/interfaces/intsort/i7dstk.F
25!||--- called by ------------------------------------------------------
26!|| i10tri ../engine/source/interfaces/intsort/i10tri.F
27!|| i11tri ../engine/source/interfaces/intsort/i11tri.F
28!|| i20tri ../engine/source/interfaces/intsort/i20tri.F
29!|| i20tri_edge ../engine/source/interfaces/intsort/i20tri.F
30!|| i21tri ../engine/source/interfaces/intsort/i21tri.F
31!|| i7tri ../engine/source/interfaces/intsort/i7tri.F
32!||====================================================================
33 SUBROUTINE i7dstk(NB_NC,NB_EC,ADD,BPN,PN,BPE,PE)
34C============================================================================
35C cette routine est appelee par : I7TRI(/int7/i7tri.F)
36C I10TRI(/int10/i10tri.F)
37C I11TRI(/int11/i11tri.F)
38C----------------------------------------------------------------------------
39C cette routine appelle : -
40C============================================================================
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C ROLE DE LA ROUTINE:
47C ===================
48C RECHAGE LES VECTEURS BAS DE PILE BPN ET BPE AVEC LES BAS DES
49C PILES PN ET PE
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C
53C NOM DESCRIPTION E/S
54C
55C BPE TABLEAU DES FACETTES A TRIER S
56C ET DU RESULTAT COTE MAX
57C PE TABLEAU DES FACETTES E
58C RESULTAT COTE MIN
59C BPN TABLEAU DES NOEUDS A TRIER S
60C ET DU RESULTAT COTE MAX
61C PN TABLEAU DES NOEUDS E
62C RESULTAT COTE MIN
63C ADD(2,*) TABLEAU DES ADRESSES E
64C 1.......ADRESSES NOEUDS
65C 2.......ADRESSES ELEMENTS
66C NB_NC NOMBRE DE NOEUDS CANDIDATS s
67C NB_EC NOMBRE D'ELTS CANDIDATS s
68C
69C-----------------------------------------------
70 INTEGER NB_NC,NB_EC
71 INTEGER ADD(2,0:*),BPE(*),PE(*),BPN(*),PN(*)
72C-----------------------------------------------
73C L o c a l V a r i a b l e s
74C-----------------------------------------------
75 INTEGER I
76C
77C
78C 1- PILE DES NOEUDS
79C
80 nb_nc = add(1,1) - add(1,0)
81 DO 10 i=1,nb_nc
82 bpn(i) = pn(add(1,0)+i)
83 10 CONTINUE
84C
85C 2- PILE DES ELEMENTS
86C
87 nb_ec = add(2,1) - add(2,0)
88 DO 20 i=1,nb_ec
89 bpe(i) = pe(add(2,0)+i)
90 20 CONTINUE
91 RETURN
92 END
subroutine i7dstk(nb_nc, nb_ec, add, bpn, pn, bpe, pe)
Definition i7dstk.F:34