OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumbf.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!|| delnumbf ../starter/source/output/anim/delnumbf.F
25!||--- called by ------------------------------------------------------
26!|| genani1 ../starter/source/output/anim/genani1.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE delnumbf(IPARG ,IXT ,IXP ,IXR ,
31 . EL2FA,NBF ,INUM ,
32 . INUMX1 )
33 use element_mod , only : nixt,nixr,nixp
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "com01_c.inc"
42#include "com04_c.inc"
43#include "param_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER IPARG(NPARG,*),
48 . IXT(NIXT,*),IXP(NIXP,*),
49 . ixr(nixr,*),el2fa(*),inum(*),
50 . nbf,inumx1(*),buf
51C-----------------------------------------------
52 INTEGER II(4),IE,NG, ITY, LFT, LLT, N, I, J,
53 . IPID, NEL, IAD, NFT, IMID,IALEL,MLW,
54 . nn1,nn2,nn3,nn4,nn5,nn6,nn7,nn8,nn9,nn10,
55 . nbf2
56C-----------------------------------------------
57C
58 nn1 = 1
59 nn2 = 1
60 nn3 = 1
61 nn4 = nn3
62 nn5 = nn4
63 nn6 = nn5
64 nn7 = nn6 + numelt
65 nn8 = nn7 + numelp
66 nn9 = nn8 + numelr
67 nn10= nn9
68C
69 DO 490 ng=1,ngroup
70 mlw =iparg(1,ng)
71 nel =iparg(2,ng)
72 nft =iparg(3,ng)
73 iad =iparg(4,ng)
74 ity =iparg(5,ng)
75 lft=1
76 llt=nel
77C-----------------------------------------------
78C TRUSS
79C-----------------------------------------------
80 IF(ity==4)THEN
81 DO i=lft,llt
82 n = i + nft
83 inum(el2fa(nn6+n)) = ixt(nixt,n)
84 ENDDO
85C-----------------------------------------------
86C POUTRES
87C-----------------------------------------------
88 ELSEIF(ity==5)THEN
89 DO i=lft,llt
90 n = i + nft
91 inum(el2fa(nn7+n)) = ixp(nixp,n)
92 ENDDO
93C-----------------------------------------------
94C RESSORTS
95C-----------------------------------------------
96 ELSEIF(ity==6)THEN
97 DO i=lft,llt
98 n = i + nft
99 inum(el2fa(nn8+n)) = ixr(nixr,n)
100 IF(mlw==3)inum(el2fa(nn8+n)+1) = ixr(nixr,n)
101 ENDDO
102C-----------------------------------------------
103 ELSE
104 ENDIF
105 490 CONTINUE
106C-----------------------------------------------
107 CALL write_i_c(inum,nbf)
108 CALL write_i_c(inumx1,nanim1d)
109C-----------------------------------------------
110C
111 RETURN
112 END
subroutine delnumbf(iparg, ixt, ixp, ixr, el2fa, nbf, inum, inumx1)
Definition delnumbf.F:33
void write_i_c(int *w, int *len)