OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
in12r.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!|| in12r ../engine/source/interfaces/interf/in12r.F
25!||--- called by ------------------------------------------------------
26!|| int12w ../engine/source/ale/inter/int12w.F
27!|| intti12f ../engine/source/interfaces/interf/intti12.F
28!|| intti12v ../engine/source/interfaces/interf/intti12.F
29!||====================================================================
30 SUBROUTINE in12r(A,FRIGAP,NSV,NSN,FLAG,TAGKINE )
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C D u m m y A r g u m e n t s
37C-----------------------------------------------
38 INTEGER NSN,FLAG,TAGKINE(*)
39 INTEGER NSV(*)
41 . a(3,*), frigap(*)
42C-----------------------------------------------
43C L o c a l V a r i a b l e s
44C-----------------------------------------------
45 INTEGER II, I
47 . xx,yy,zz,
48 . s11,s21,s31,s12,s22,s32,s13,s23,s33
49C-----------------------------------------------
50C E x t e r n a l F u n c t i o n s
51C-----------------------------------------------
52C TRANSFORMATION TEMPORAIRE DANS LE REPERE MAIN
53 s11=frigap(5)
54 s21=frigap(6)
55 s31=frigap(7)
56 s12=frigap(8)
57 s22=frigap(9)
58 s32=frigap(10)
59 s13=frigap(12)
60 s23=frigap(13)
61 s33=frigap(14)
62 IF(flag==1)THEN
63 DO ii=1,nsn
64 IF(tagkine(ii)>0)THEN
65 i=nsv(ii)
66 xx=a(1,i)
67 yy=a(2,i)
68 zz=a(3,i)
69 a(1,i)=s11*xx+s12*yy+s13*zz
70 a(2,i)=s21*xx+s22*yy+s23*zz
71 a(3,i)=s31*xx+s32*yy+s33*zz
72 ENDIF
73 ENDDO
74 ELSE
75C RETOUR REPERE SECOND
76 DO ii=1,nsn
77 IF(tagkine(ii)>0)THEN
78 i=nsv(ii)
79 xx=a(1,i)
80 yy=a(2,i)
81 zz=a(3,i)
82 a(1,i)=s11*xx+s21*yy+s31*zz
83 a(2,i)=s12*xx+s22*yy+s32*zz
84 a(3,i)=s13*xx+s23*yy+s33*zz
85 ENDIF
86 ENDDO
87 ENDIF
88
89 RETURN
90 END
#define my_real
Definition cppsort.cpp:32
subroutine in12r(a, frigap, nsv, nsn, flag, tagkine)
Definition in12r.F:31