OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumbc.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!|| delnumbc ../starter/source/output/anim/delnumbc.f
25!||--- called by ------------------------------------------------------
26!|| genani1 ../starter/source/output/anim/genani1.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE delnumbc(IPARG,IXQ ,IXC ,IXTG ,
31 2 EL2FA,NBF ,INUM ,NELCUT,
32 3 NBPART,IDCMAX)
33 use element_mod , only : nixq,nixc,nixtg
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 IXC(NIXC,*),IXTG(NIXTG,*),IPARG(NPARG,*),
48 . IXQ(NIXQ,*),EL2FA(*),INUM(*),
49 . nbf,nelcut,nbpart,idcmax
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53C REAL
54 my_real
55 . off
56 INTEGER IE, NG, ITY, LFT, LLT, N, I, J,
57 . NEL, IAD, NFT,
58 . nn1,nn2,nn3,nn4,nn5,nn6,nn7,nn8,nn9
59
60C-----------------------------------------------
61 nn1 = 1
62 nn2 = 1
63 nn3 = 1
64 nn4 = nn3 + numelq
65 nn5 = nn4 + numelc
66 nn6 = nn5 + numeltg
67 nn7 = nn6
68 nn8 = nn7
69 nn9 = nn8
70C
71 DO ng=1,ngroup
72 nel =iparg(2,ng)
73 nft =iparg(3,ng)
74 iad =iparg(4,ng)
75 ity =iparg(5,ng)
76 lft=1
77 llt=nel
78C-----------------------------------------------
79C QUAD
80C-----------------------------------------------
81 IF(ity==2)THEN
82 DO i=lft,llt
83 n = i + nft
84 inum(el2fa(nn3+n)) = ixq(nixq,n)
85 ENDDO
86C-----------------------------------------------
87C COQUES
88C-----------------------------------------------
89 ELSEIF(ity==3)THEN
90 DO i=lft,llt
91 n = i + nft
92 inum(el2fa(nn4+n)) = ixc(nixc,n)
93 ENDDO
94C-----------------------------------------------
95C 3-NODE SHELLS
96C-----------------------------------------------
97 ELSEIF(ity==7)THEN
98 DO i=lft,llt
99 n = i + nft
100 inum(el2fa(nn5+n)) = ixtg(nixtg,n)
101 ENDDO
102 ELSE
103 ENDIF
104 ENDDO
105
106C-----------------------------------------------
107 idcmax=0
108 DO i=1,nbf
109 idcmax=max(idcmax,inum(i))
110 ENDDO
111 CALL write_i_c(inum,nbf)
112 DO i=1,nelcut
113 CALL write_i_c(0,1)
114 ENDDO
115C
116 RETURN
117 END
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21
subroutine delnumbc(iparg, ixq, ixc, ixtg, el2fa, nbf, inum, nelcut, nbpart, idcmax)
Definition delnumbc.F:33
program starter
Definition starter.F:39
void write_i_c(int *w, int *len)