OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i9cor3.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!|| i9cor3 ../engine/source/interfaces/int09/i9cor3.F
25!||--- called by ------------------------------------------------------
26!|| i9main3 ../engine/source/interfaces/int09/i9main3.F
27!||====================================================================
28 SUBROUTINE i9cor3(
29 1 X, V, A, IRECT,
30 2 MSR, NSV, IRTL, IX1,
31 3 IX2, IX3, IX4, X1,
32 4 X2, X3, X4, XI,
33 5 Y1, Y2, Y3, Y4,
34 6 YI, Z1, Z2, Z3,
35 7 Z4, ZI, LFT, LLT,
36 8 NFT)
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER, INTENT(INOUT) :: LFT
49 INTEGER, INTENT(INOUT) :: LLT
50 INTEGER, INTENT(INOUT) :: NFT
51 INTEGER IRECT(4,*), MSR(*), NSV(*), IRTL(*)
52 INTEGER, DIMENSION(MVSIZ), INTENT(OUT):: IX1,IX2,IX3,IX4
53 my_real, DIMENSION(MVSIZ), INTENT(OUT) :: X1,X2,X3,X4,XI
54 my_real, DIMENSION(MVSIZ), INTENT(OUT) :: Y1,Y2,Y3,Y4,YI
55 my_real, DIMENSION(MVSIZ), INTENT(OUT) :: Z1,Z2,Z3,Z4,ZI
56 my_real
57 . x(3,*),v(3,*),a(3,*)
58C-----------------------------------------------
59C C o m m o n B l o c k s
60C-----------------------------------------------
61#include "com08_c.inc"
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER I, IL, IG, L, NN
66C-----------------------------------------------
67C S o u r c e L i n e s
68C-----------------------------------------------
69 DO I=lft,llt
70 il=i+nft
71 ig=nsv(il)
72 xi(i)=x(1,ig) + (v(1,ig) + a(1,ig)*dt12)*dt2
73 yi(i)=x(2,ig) + (v(2,ig) + a(2,ig)*dt12)*dt2
74 zi(i)=x(3,ig) + (v(3,ig) + a(3,ig)*dt12)*dt2
75 ENDDO
76
77 DO i=lft,llt
78 il=i+nft
79 ig=nsv(il)
80 l=irtl(il)
81 nn=msr(irect(1,l))
82 ix1(i)=nn
83 x1(i)=x(1,nn) + (v(1,nn) + a(1,nn)*dt12)*dt2
84 y1(i)=x(2,nn) + (v(2,nn) + a(2,nn)*dt12)*dt2
85 z1(i)=x(3,nn) + (v(3,nn) + a(3,nn)*dt12)*dt2
86 nn=msr(irect(2,l))
87 ix2(i)=nn
88 x2(i)=x(1,nn) + (v(1,nn) + a(1,nn)*dt12)*dt2
89 y2(i)=x(2,nn) + (v(2,nn) + a(2,nn)*dt12)*dt2
90 z2(i)=x(3,nn) + (v(3,nn) + a(3,nn)*dt12)*dt2
91 nn=msr(irect(3,l))
92 ix3(i)=nn
93 x3(i)=x(1,nn) + (v(1,nn) + a(1,nn)*dt12)*dt2
94 y3(i)=x(2,nn) + (v(2,nn) + a(2,nn)*dt12)*dt2
95 z3(i)=x(3,nn) + (v(3,nn) + a(3,nn)*dt12)*dt2
96 nn=msr(irect(4,l))
97 ix4(i)=nn
98 x4(i)=x(1,nn) + (v(1,nn) + a(1,nn)*dt12)*dt2
99 y4(i)=x(2,nn) + (v(2,nn) + a(2,nn)*dt12)*dt2
100 z4(i)=x(3,nn) + (v(3,nn) + a(3,nn)*dt12)*dt2
101 ENDDO
102C-----------------------------------------------
103 RETURN
104 END
subroutine i9cor3(x, v, a, irect, msr, nsv, irtl, ix1, ix2, ix3, ix4, x1, x2, x3, x4, xi, y1, y2, y3, y4, yi, z1, z2, z3, z4, zi, lft, llt, nft)
Definition i9cor3.F:37