OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumbc.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine delnumbc (iparg, ixq, ixc, ixtg, el2fa, nbf, inum, nelcut, nbpart, idcmax)

Function/Subroutine Documentation

◆ delnumbc()

subroutine delnumbc ( integer, dimension(nparg,*) iparg,
integer, dimension(nixq,*) ixq,
integer, dimension(nixc,*) ixc,
integer, dimension(nixtg,*) ixtg,
integer, dimension(*) el2fa,
integer nbf,
integer, dimension(*) inum,
integer nelcut,
integer nbpart,
integer idcmax )

Definition at line 29 of file delnumbc.F.

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
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21
void write_i_c(int *w, int *len)