OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sta_c_get_q4lsys.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!|| get_q4lsys ../engine/source/output/sta/sta_c_get_q4lsys.F
25!||--- called by ------------------------------------------------------
26!|| stat_c_strsfg ../engine/source/output/sta/stat_c_strsfg.F
27!||--- calls -----------------------------------------------------
28!|| clskew3 ../engine/source/elements/sh3n/coquedk/cdkcoor3.F
29!|| cortdir3 ../engine/source/elements/shell/coque/cortdir3.F
30!||--- uses -----------------------------------------------------
31!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE get_q4lsys(JFT ,JLT ,IXC ,X ,OFFG ,
34 . IREL ,VQ ,NLAY ,IREP ,NEL ,
35 . DIR_A ,DIR_B ,ELBUF_STR)
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE elbufdef_mod
40C---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
41#include "implicit_f.inc"
42c-----------------------------------------------
43c g l o b a l p a r a m e t e r s
44c-----------------------------------------------
45#include "mvsiz_p.inc"
46C-----------------------------------------------
47C D U M M Y A R G U M E N T S
48C-----------------------------------------------
49 INTEGER IXC(NIXC,*),JFT,JLT,IREL,NLAY,IREP,NEL
50 my_real
51 . x(3,*), offg(*),vq(3,3,mvsiz),dir_a(*),dir_b(*)
52 TYPE (ELBUF_STRUCT_), TARGET :: ELBUF_STR
53C-----------------------------------------------
54C L O C A L V A R I A B L E S
55C-----------------------------------------------
56 INTEGER I,J,K,L
57 INTEGER IXCTMP2,IXCTMP3,IXCTMP4,IXCTMP5
58 my_real
59 . rx(mvsiz),ry(mvsiz),rz(mvsiz),sx(mvsiz),sy(mvsiz),
60 . r11(mvsiz),r12(mvsiz),r13(mvsiz),r21(mvsiz),r22(mvsiz),
61 . r23(mvsiz),r31(mvsiz),r32(mvsiz),r33(mvsiz),
62 . sz(mvsiz),deta1(mvsiz)
63C----------------------------------------------
64 DO i=jft,jlt
65 ixctmp2=ixc(2,i)
66 ixctmp3=ixc(3,i)
67 ixctmp4=ixc(4,i)
68 ixctmp5=ixc(5,i)
69
70 rx(i)=x(1,ixctmp3)+x(1,ixctmp4)-x(1,ixctmp2)-x(1,ixctmp5)
71 sx(i)=x(1,ixctmp4)+x(1,ixctmp5)-x(1,ixctmp2)-x(1,ixctmp3)
72 ry(i)=x(2,ixctmp3)+x(2,ixctmp4)-x(2,ixctmp2)-x(2,ixctmp5)
73 sy(i)=x(2,ixctmp4)+x(2,ixctmp5)-x(2,ixctmp2)-x(2,ixctmp3)
74 rz(i)=x(3,ixctmp3)+x(3,ixctmp4)-x(3,ixctmp2)-x(3,ixctmp5)
75 sz(i)=x(3,ixctmp4)+x(3,ixctmp5)-x(3,ixctmp2)-x(3,ixctmp3)
76 ENDDO
77C----------------------------
78C LOCAL SYSTEM
79C----------------------------
80 CALL clskew3(jft,jlt,irel,
81 . rx, ry, rz,
82 . sx, sy, sz,
83 . r11,r12,r13,r21,r22,r23,r31,r32,r33,deta1,offg )
84 DO i=jft,jlt
85 vq(1,1,i)=r11(i)
86 vq(2,1,i)=r21(i)
87 vq(3,1,i)=r31(i)
88 vq(1,2,i)=r12(i)
89 vq(2,2,i)=r22(i)
90 vq(3,2,i)=r32(i)
91 vq(1,3,i)=r13(i)
92 vq(2,3,i)=r23(i)
93 vq(3,3,i)=r33(i)
94 ENDDO
95 CALL cortdir3(elbuf_str,dir_a ,dir_b ,jft ,jlt ,
96 . nlay ,irep ,rx ,ry ,rz ,
97 . sx ,sy ,sz ,r11 ,r21 ,
98 . r31 ,r12 ,r22 ,r32 ,nel )
99C
100 RETURN
101 END
subroutine clskew3(jft, jlt, irep, rx, ry, rz, sx, sy, sz, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z, det)
Definition clskew.F:34
subroutine cortdir3(elbuf_str, dir_a, dir_b, jft, jlt, nlay, irep, rx, ry, rz, sx, sy, sz, e1x, e1y, e1z, e2x, e2y, e2z, nel)
Definition cortdir3.F:45
subroutine get_q4lsys(jft, jlt, ixc, x, offg, irel, vq, nlay, irep, nel, dir_a, dir_b, elbuf_str)