OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
eigoff.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!|| eigoff ../engine/source/output/anim/generate/eigoff.F
25!||--- uses -----------------------------------------------------
26!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
27!||====================================================================
28 SUBROUTINE eigoff(
29 . IXS ,IXQ ,IXC ,IXT ,IXP ,
30 . IXR ,IXTG ,IBUF ,NN ,BUFEL ,
31 . IPARG ,BUFEL0 ,ELBUF_TAB )
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE elbufdef_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com01_c.inc"
44#include "com04_c.inc"
45#include "param_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER IXS(NIXS,*),IXQ(NIXQ,*), IXC(NIXC,*),
50 . IXT(NIXT,*), IXP(NIXP,*), IXR(NIXR,*), IXTG(NIXTG,*),
51 . IBUF(*), NN, IPARG(NPARG,*)
53 . bufel(*), bufel0(*)
54 TYPE (ELBUF_STRUCT_), DIMENSION(NGROUP) :: ELBUF_TAB
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER I, ITAG(NUMNOD), NG, MLW, ITY, NEL, NFT, IAD, NBX, II,
59 . NALL, IHBE, NPT, ISTRAIN, IEXPAN,ISROT
60C=======================================================================
61 DO i=1,lbufel
62 bufel0(i)=bufel(i)
63 ENDDO
64 DO i=1,numnod
65 itag(i)=0
66 ENDDO
67 DO i=1,nn
68 itag(ibuf(i))=1
69 ENDDO
70C
71 DO ng=1,ngroup
72 mlw=iparg(1,ng)
73 ity=iparg(5,ng)
74 nel=iparg(2,ng)
75 nft=iparg(3,ng)
76 nbx=iparg(4,ng) -1
77 IF (ity==1) THEN
78 DO i=1,nel
79 ii=i+nft
80 nall = itag(ixs(2,ii)) * itag(ixs(3,ii)) *
81 + itag(ixs(4,ii)) * itag(ixs(5,ii)) *
82 + itag(ixs(6,ii)) * itag(ixs(7,ii)) *
83 + itag(ixs(8,ii)) * itag(ixs(9,ii))
84 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
85 ENDDO
86 ELSEIF (ity==3) THEN
87 DO i=1,nel
88 ii=i+nft
89 nall = itag(ixc(2,ii)) * itag(ixc(3,ii)) *
90 + itag(ixc(4,ii)) * itag(ixc(5,ii))
91 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
92 ENDDO
93 ELSEIF (ity==7) THEN
94 DO i=1,nel
95 ii=i+nft
96 nall = itag(ixtg(2,ii)) * itag(ixtg(3,ii)) *
97 + itag(ixtg(4,ii))
98 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
99 ENDDO
100 ELSEIF (ity==50) THEN
101 DO i=1,nel
102 bufel0(nbx+i)=zero
103 ENDDO
104 ELSEIF (ity==4) THEN
105 DO i=1,nel
106 ii=i+nft
107 nall = itag(ixt(2,ii)) * itag(ixt(3,ii))
108 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
109cc IF (NALL==0) BUFEL0(NBX+I)=ZERO
110 ENDDO
111 ELSEIF (ity==5) THEN
112 DO i=1,nel
113 ii=i+nft
114 nall = itag(ixp(2,ii)) * itag(ixp(3,ii))
115 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
116cc IF (NALL==0) BUFEL0(NBX+I)=ZERO
117 ENDDO
118 ELSEIF (ity==6) THEN
119 DO i=1,nel
120 ii=i+nft
121 nall = itag(ixr(2,ii)) * itag(ixr(3,ii))
122 IF (nall == 0) elbuf_tab(ng)%GBUF%OFF(i) = zero
123cc IF (NALL==0) BUFEL0(NBX+I)=ZERO
124 ENDDO
125 ENDIF
126 ENDDO
127C
128 RETURN
129 END
#define my_real
Definition cppsort.cpp:32
subroutine eigoff(ixs, ixq, ixc, ixt, ixp, ixr, ixtg, ibuf, nn, bufel, iparg, bufel0, elbuf_tab)
Definition eigoff.F:32