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