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

Go to the source code of this file.

Functions/Subroutines

subroutine delnumbs (iparg, ixs, el2fa, nbf, inum, kxsp, isph3d)

Function/Subroutine Documentation

◆ delnumbs()

subroutine delnumbs ( integer, dimension(nparg,*) iparg,
integer, dimension(nixs,*) ixs,
integer, dimension(*) el2fa,
integer nbf,
integer, dimension(*) inum,
integer, dimension(nisp,*) kxsp,
integer isph3d )

Definition at line 30 of file delnumbs.F.

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