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 29 of file delnumbs.F.

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