OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aglo24.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!|| aglo24 ../engine/source/materials/mat/mat024/aglo24.F
25!||--- called by ------------------------------------------------------
26!|| conc24 ../engine/source/materials/mat/mat024/conc24.F
27!|| m24anim ../engine/source/materials/mat/mat024/m24anim.f
28!||====================================================================
29 SUBROUTINE aglo24(NEL,SIG,R11,R12,R13,
30 . R21,R22,R23,R31,R32,R33)
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 NEL
39 my_real, DIMENSION(NEL), INTENT(IN) :: r11,r12,r13,r21,r22,r23,r31,r32,r33
40 my_real sig(nel,6)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER I
45 my_real, DIMENSION(NEL) :: a11,a12,a13,a21,a22,a23,a31,a32,a33
46C=======================================================================
47 DO i=1,nel
48 a11(i)=sig(i,1)*r11(i)+sig(i,4)*r12(i)+sig(i,6)*r13(i)
49 a12(i)=sig(i,1)*r21(i)+sig(i,4)*r22(i)+sig(i,6)*r23(i)
50 a13(i)=sig(i,1)*r31(i)+sig(i,4)*r32(i)+sig(i,6)*r33(i)
51 a21(i)=sig(i,4)*r11(i)+sig(i,2)*r12(i)+sig(i,5)*r13(i)
52 a22(i)=sig(i,4)*r21(i)+sig(i,2)*r22(i)+sig(i,5)*r23(i)
53 a23(i)=sig(i,4)*r31(i)+sig(i,2)*r32(i)+sig(i,5)*r33(i)
54 a31(i)=sig(i,6)*r11(i)+sig(i,5)*r12(i)+sig(i,3)*r13(i)
55 a32(i)=sig(i,6)*r21(i)+sig(i,5)*r22(i)+sig(i,3)*r23(i)
56 a33(i)=sig(i,6)*r31(i)+sig(i,5)*r32(i)+sig(i,3)*r33(i)
57 ENDDO
58c
59 DO i=1,nel
60 sig(i,1)=r11(i)*a11(i)+r12(i)*a21(i)+r13(i)*a31(i)
61 sig(i,2)=r21(i)*a12(i)+r22(i)*a22(i)+r23(i)*a32(i)
62 sig(i,3)=r31(i)*a13(i)+r32(i)*a23(i)+r33(i)*a33(i)
63 sig(i,4)=r11(i)*a12(i)+r12(i)*a22(i)+r13(i)*a32(i)
64 sig(i,5)=r21(i)*a13(i)+r22(i)*a23(i)+r23(i)*a33(i)
65 sig(i,6)=r11(i)*a13(i)+r12(i)*a23(i)+r13(i)*a33(i)
66 ENDDO
67c-----------
68 RETURN
69 END
subroutine aglo24(nel, sig, r11, r12, r13, r21, r22, r23, r31, r32, r33)
Definition aglo24.F:31
#define my_real
Definition cppsort.cpp:32
subroutine m24anim(dam, ang, damglo, nel, r11, r12, r13, r21, r22, r23, r31, r32, r33)
Definition m24anim.F:35