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