OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
q4cumu2p.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!|| q4cumu2p ../engine/source/elements/solid_2d/quad4/q4cumu2p.F
25!||--- called by ------------------------------------------------------
26!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.F
27!||====================================================================
28 SUBROUTINE q4cumu2p(
29 1 FSKY, FSKYV, IADQ, FY1,
30 2 FZ1, FY2, FZ2, FY3,
31 3 FZ3, FY4, FZ4, STIM,
32 4 NEL, NFT)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "parit_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(IN) :: NEL
45 INTEGER, INTENT(IN) :: NFT
46 INTEGER IADQ(4,*)
47C REAL
49 . fsky(8,lsky), fskyv(lsky,8),
50 . fy1(*), fz1(*), fy2(*), fz2(*),
51 . fy3(*), fz3(*), fy4(*), fz4(*),
52 . stim(*)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I, II, K
57C-----------------------------------------------
58C S o u r c e L i n e s
59C-----------------------------------------------
60C
61 DO i=1,nel
62 stim(i)=fourth*stim(i)
63 END DO
64C
65 IF(ivector==1) THEN
66 DO i=1,nel
67 ii = i + nft
68C
69 k = iadq(1,ii)
70 fskyv(k,2) = fy1(i)
71 fskyv(k,3) = fz1(i)
72 fskyv(k,7) = stim(i)
73C
74 k = iadq(2,ii)
75 fskyv(k,2) = fy2(i)
76 fskyv(k,3) = fz2(i)
77 fskyv(k,7) = stim(i)
78C
79 k = iadq(3,ii)
80 fskyv(k,2) = fy3(i)
81 fskyv(k,3) = fz3(i)
82 fskyv(k,7) = stim(i)
83C
84 k = iadq(4,ii)
85 fskyv(k,2) = fy4(i)
86 fskyv(k,3) = fz4(i)
87 fskyv(k,7) = stim(i)
88 ENDDO
89 ELSE
90 DO i=1,nel
91 ii = i + nft
92C
93 k = iadq(1,ii)
94 fsky(2,k) = fy1(i)
95 fsky(3,k) = fz1(i)
96 fsky(7,k) = stim(i)
97C
98 k = iadq(2,ii)
99 fsky(2,k) = fy2(i)
100 fsky(3,k) = fz2(i)
101 fsky(7,k) = stim(i)
102C
103 k = iadq(3,ii)
104 fsky(2,k) = fy3(i)
105 fsky(3,k) = fz3(i)
106 fsky(7,k) = stim(i)
107C
108 k = iadq(4,ii)
109 fsky(2,k) = fy4(i)
110 fsky(3,k) = fz4(i)
111 fsky(7,k) = stim(i)
112 ENDDO
113 ENDIF
114C
115 RETURN
116 END
#define my_real
Definition cppsort.cpp:32
subroutine q4cumu2p(fsky, fskyv, iadq, fy1, fz1, fy2, fz2, fy3, fz3, fy4, fz4, stim, nel, nft)
Definition q4cumu2p.F:33