OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i9sti2.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/.
23C
24!||====================================================================
25!|| i9sti2 ../starter/source/interfaces/int09/i9sti2.F
26!||--- called by ------------------------------------------------------
27!|| inint2 ../starter/source/interfaces/inter2d1/inint2.f
28!||--- calls -----------------------------------------------------
29!|| inare2 ../starter/source/interfaces/inter2d1/inare2.f
30!|| inori2 ../starter/source/interfaces/inter2d1/inori2.F
31!|| inrch2 ../starter/source/interfaces/inter2d1/inrch2.f
32!|| local_index ../starter/source/interfaces/interf1/local_index.F
33!||--- uses -----------------------------------------------------
34!||====================================================================
35 SUBROUTINE i9sti2(
36 1 X ,IRECT ,IXQ ,
37 2 NRT ,NINT ,
38 3 NSN ,NSV ,NOINT ,IELE ,
39 4 ID ,TITR)
40C-----------------------------------------------
41C M o d u l e s
42C-----------------------------------------------
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "param_c.inc"
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER NRT, NINT, NSN, NOINT
56 INTEGER IRECT(4,*), IXQ(7,*), NSV(*), IELE(*)
57 my_real X(3,*)
58 INTEGER ID
59 CHARACTER(LEN=NCHARTITLE)::TITR
60C-----------------------------------------------
61C L o c a l V a r i a b l e s
62C-----------------------------------------------
63 INTEGER I, II, NEL, J, IG, IL
64C
65 my_real AREA, XL2, YM1, YM2, ZM1, ZM2, YE(4), ZE(4)
66C-----------------------------------------------
67C S o u r c e L i n e s
68C-----------------------------------------------
69C
70 DO i=1,nrt
71 ii=i
72 CALL inrch2(x, irect, ixq, ii, nel,
73 . nint, ym1, ym2, zm1,
74 . zm2 ,ye, ze, id, titr)
75 IF(nel/=0) THEN
76 CALL inare2(area, ye, ze)
77 xl2=(ym2-ym1)**2+(zm2-zm1)**2
78 iele(i) = nel
79 ENDIF
80C
81 CALL inori2(irect, ii, nel, nint,
82 . noint, ym1, ym2, zm1, zm2,
83 . ye, ze )
84 ENDDO
85C-----------------------------------------------------
86C MISE DANS IRECT DU NUMERO LOCAL DU NOEUD
87C-----------------------------------------------------
88 DO i=1,nrt
89 ig=irect(1,i)
90 CALL local_index(il,ig,nsv,nsn)
91 irect(1,i)=il
92 ig=irect(2,i)
93 CALL local_index(il,ig,nsv,nsn)
94 irect(2,i)=il
95 ENDDO
96C
97 RETURN
98 END
subroutine i9sti2(x, irect, ixq, nrt, nint, nsn, nsv, noint, iele, id, titr)
Definition i9sti2.F:40
subroutine inare2(area, ye, ze)
Definition inare2.F:31
subroutine inint2(intbuf_tab, inscr, x, ixq, sinscr, pm, geo, ipari, nint, itab, itabm1, numnod, ikine, mwa, ipm, id, titr, knod2elq, nod2elq, segquadfr, nummat, ninter, sitab, sitabm1, sicode, icode)
Definition inint2.F:48
subroutine inori2(irect, isg, nel, nint, noint, ym1, ym2, zm1, zm2, ye, ze)
Definition inori2.F:34
subroutine inrch2(x, irect, ico, isg, nel, nint, ym1, ym2, zm1, zm2, ye, ze, id, titr)
Definition inrch2.F:37
subroutine local_index(il, ig, nodes, n)
Definition local_index.F:37
integer, parameter nchartitle
program starter
Definition starter.F:39