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