OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumbs.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!|| delnumbs ../starter/source/output/anim/delnumbs.F
25!||--- called by ------------------------------------------------------
26!|| genani1 ../starter/source/output/anim/genani1.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE delnumbs(IPARG,IXS ,EL2FA,NBF ,INUM ,
31 . KXSP ,ISPH3D)
32 use element_mod , only : nixs
33C===============================================
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com01_c.inc"
41#include "com04_c.inc"
42#include "sphcom.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 . ixs(nixs,*),el2fa(*),inum(*),
49 . nbf,kxsp(nisp,*)
50 INTEGER ISPH3D ,NG, ITY, LFT, LLT, N, I, NEL, IAD, NFT,
51 . nn1,nn2,nn3,isolnod
52C=======================================================================
53 nn1 = 1
54 nn2 = 1
55 nn3 = nn2 + numels
56C
57 DO 490 ng=1,ngroup
58 nel =iparg(2,ng)
59 nft =iparg(3,ng)
60 iad =iparg(4,ng)
61 ity =iparg(5,ng)
62 isolnod = iparg(28,ng)
63 lft=1
64 llt=nel
65C-----------------------------------------------
66C 16-NODE SOLID ELEMENTS
67C-----------------------------------------------
68 IF(ity==1.AND.isolnod==16)THEN
69 DO i=lft,llt
70 n = i + nft
71 IF(el2fa(nn2+n)/=0)THEN
72 inum(el2fa(nn2+n)) = ixs(nixs,n)
73 inum(el2fa(nn2+n)+1) = ixs(nixs,n)
74 inum(el2fa(nn2+n)+2) = ixs(nixs,n)
75 inum(el2fa(nn2+n)+3) = ixs(nixs,n)
76 ENDIF
77 ENDDO
78C-----------------------------------------------
79C OTHER SOLID ELEMENTS
80C-----------------------------------------------
81 ELSEIF(ity==1)THEN
82 DO i=lft,llt
83 n = i + nft
84 IF(el2fa(nn2+n)/=0)THEN
85 inum(el2fa(nn2+n)) = ixs(nixs,n)
86 ENDIF
87 ENDDO
88 ELSEIF(isph3d==1.AND.ity==51)THEN
89C-----------------------------------------------
90C TETRAS SPH.
91C-----------------------------------------------
92 DO i=lft,llt
93 n = i + nft
94 IF(el2fa(nn3+n)/=0)THEN
95 inum(el2fa(nn3+n)) = kxsp(nisp,n)
96 ENDIF
97 ENDDO
98 ELSE
99 ENDIF
100 490 CONTINUE
101C-----------------------------------------------
102 CALL write_i_c(inum,nbf)
103C-----------------------------------------------
104 RETURN
105 END
subroutine delnumbs(iparg, ixs, el2fa, nbf, inum, kxsp, isph3d)
Definition delnumbs.F:32
void write_i_c(int *w, int *len)