OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i7dstk.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i7dstk (nb_nc, nb_ec, add, bpn, pn, bpe, pe)

Function/Subroutine Documentation

◆ i7dstk()

subroutine i7dstk ( integer nb_nc,
integer nb_ec,
integer, dimension(2,0:*) add,
integer, dimension(*) bpn,
integer, dimension(*) pn,
integer, dimension(*) bpe,
integer, dimension(*) pe )

Definition at line 33 of file i7dstk.F.

34C============================================================================
35C this routine is called by: I7TRI(/int7/i7tri.F)
36C I10TRI(/int10/i10tri.F)
37C I11TRI(/int11/i11tri.F)
38C----------------------------------------------------------------------------
39C this routine calls: -
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 of the routine:
47C ===================
48C reload the stack bottom vectors BPN and BPE with the bottoms of
49C stacks PN and 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 ARRAY OF FACETTES TO SORT S
56C and result on max side
57C PE ARRAY OF FACETTES E
58C RESULTAT COTE MIN
59C BPN SORTED NODES ARRAY S
60C and result on max side
61C PN NODES ARRAY E
62C RESULTAT COTE MIN
63C ADD(2,*) ARRAY OF ADRESSES E
64C 1.......ADRESSES NODES C 2.......ADRESSES ELEMENTS
65C NB_NC NUMBER OF CANDIDATE NODES s
66C NB_EC NUMBER OF CANDIDATE ELEMENTS s
67C
68C-----------------------------------------------
69 INTEGER NB_NC,NB_EC
70 INTEGER ADD(2,0:*),BPE(*),PE(*),BPN(*),PN(*)
71C-----------------------------------------------
72C L o c a l V a r i a b l e s
73C-----------------------------------------------
74 INTEGER I
75C
76C
77C 1- nodes stack
78C
79 nb_nc = add(1,1) - add(1,0)
80 DO 10 i=1,nb_nc
81 bpn(i) = pn(add(1,0)+i)
82 10 CONTINUE
83C
84C 2- elements stack
85C
86 nb_ec = add(2,1) - add(2,0)
87 DO 20 i=1,nb_ec
88 bpe(i) = pe(add(2,0)+i)
89 20 CONTINUE
90 RETURN