OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ig3dcumu3.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "mvsiz_p.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine ig3dcumu3 (ixig3d, kxig3d, nctrl, offg, e, fx, fy, fz, btdbaloc, stig, stifn, nel, nft)

Function/Subroutine Documentation

◆ ig3dcumu3()

subroutine ig3dcumu3 ( integer, dimension(*) ixig3d,
integer, dimension(nixig3d,*) kxig3d,
integer nctrl,
offg,
e,
fx,
fy,
fz,
btdbaloc,
stig,
stifn,
integer, intent(in) nel,
integer, intent(in) nft )

Definition at line 28 of file ig3dcumu3.F.

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(*)
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
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
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20