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 30 of file delnumbc.F.

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