OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
qrrota2.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!|| qrrota2 ../engine/source/elements/solid_2d/quad/qrrota2.F
25!||--- called by ------------------------------------------------------
26!|| qforc2 ../engine/source/elements/solid_2d/quad/qforc2.F
27!||====================================================================
28 SUBROUTINE qrrota2(
29 1 R22, R23, R32, R33,
30 2 F11, F21, F12, F22,
31 3 T11, T21, T12, T22,
32 4 T13, T23, T14, T24,
33 5 NEL)
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(IN) :: NEL
45C REAL
46 my_real
47 . R22(*), R23(*), R32(*), R33(*),
48 . F11(*), F21(*), F12(*), F22(*),
49 . t11(*), t21(*), t12(*), t22(*),
50 . t13(*), t23(*), t14(*), t24(*)
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I
55C REAL
56 my_real
57 . Y,Z
58C-----------------------------------------------
59C X=RX' <=> X'=t(R)X chgt de base.
60 DO i=1,nel
61 y=r22(i)*f11(i)+r32(i)*f21(i)
62 z=r23(i)*f11(i)+r33(i)*f21(i)
63 f11(i)=y
64 f21(i)=z
65 END DO
66 DO i=1,nel
67 y=r22(i)*f12(i)+r32(i)*f22(i)
68 z=r23(i)*f12(i)+r33(i)*f22(i)
69 f12(i)=y
70 f22(i)=z
71 END DO
72 DO i=1,nel
73 y=r22(i)*t11(i)+r32(i)*t21(i)
74 z=r23(i)*t11(i)+r33(i)*t21(i)
75 t11(i)=y
76 t21(i)=z
77 END DO
78 DO i=1,nel
79 y=r22(i)*t12(i)+r32(i)*t22(i)
80 z=r23(i)*t12(i)+r33(i)*t22(i)
81 t12(i)=y
82 t22(i)=z
83 END DO
84 DO i=1,nel
85 y=r22(i)*t13(i)+r32(i)*t23(i)
86 z=r23(i)*t13(i)+r33(i)*t23(i)
87 t13(i)=y
88 t23(i)=z
89 END DO
90 DO i=1,nel
91 y=r22(i)*t14(i)+r32(i)*t24(i)
92 z=r23(i)*t14(i)+r33(i)*t24(i)
93 t14(i)=y
94 t24(i)=z
95 END DO
96c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
97 RETURN
98 END
subroutine qrrota2(r22, r23, r32, r33, f11, f21, f12, f22, t11, t21, t12, t22, t13, t23, t14, t24, nel)
Definition qrrota2.F:34