OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ig3dcumu3.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!|| ig3dcumu3 ../engine/source/elements/ige3d/ig3dcumu3.F
25!||--- called by ------------------------------------------------------
26!|| ig3duforc3 ../engine/source/elements/ige3d/ig3duforc3.F
27!||====================================================================
28 SUBROUTINE ig3dcumu3(
29 1 IXIG3D, KXIG3D, NCTRL, OFFG,
30 2 E, FX, FY, FZ,
31 3 BtDBAloc,STIG, STIFN, NEL,
32 4 NFT)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37#include "comlock.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "mvsiz_p.inc"
42#include "param_c.inc"
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C------------------------------
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER, INTENT(IN) :: NEL
50 INTEGER, INTENT(IN) :: NFT
51 INTEGER NCTRL,KXIG3D(NIXIG3D,*),IXIG3D(*)
52 my_real
53 . offg(*),e(3,*),btdbaloc(3*nctrl,*),
54 . fx(mvsiz,nctrl),fy(mvsiz,nctrl),fz(mvsiz,nctrl),
55 . stifn(*),stig(mvsiz,*)
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I, J, JJ, INCTRL
60 my_real
61 . OFF_L
62C-----------------------------------------------
63 off_l = zero
64 DO i=1,nel
65 off_l = min(off_l,offg(i))
66 ENDDO
67 IF(off_l<zero)THEN
68 DO i=1,nel
69 IF(offg(i)<zero)THEN
70 DO j=1,nctrl
71 fx(i,j)=zero
72 fy(i,j)=zero
73 fz(i,j)=zero
74 ENDDO
75 ENDIF
76 ENDDO
77 ENDIF
78
79 DO i=1,nel
80 DO j=1,nctrl
81 IF( j <= kxig3d(3,i+nft) ) THEN
82 inctrl = ixig3d(kxig3d(4,i+nft)+j-1)
83 e(1,inctrl)=e(1,inctrl)+fx(i,j)
84 e(2,inctrl)=e(2,inctrl)+fy(i,j)
85 e(3,inctrl)=e(3,inctrl)+fz(i,j)
86 stifn(inctrl)=stifn(inctrl)+stig(i,j)
87 ENDIF
88 ENDDO
89 ENDDO
90
91 RETURN
92 END
93
subroutine ig3dcumu3(ixig3d, kxig3d, nctrl, offg, e, fx, fy, fz, btdbaloc, stig, stifn, nel, nft)
Definition ig3dcumu3.F:33
#define min(a, b)
Definition macros.h:20