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