OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumb0.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "sphcom.inc"
#include "param_c.inc"
#include "task_c.inc"
#include "spmd_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine delnumb0 (iparg, el2fa, nbf, inum, dd_iad, iadd, nbpart, iadg, kxsp)

Function/Subroutine Documentation

◆ delnumb0()

subroutine delnumb0 ( integer, dimension(nparg,*) iparg,
integer, dimension(*) el2fa,
integer nbf,
integer, dimension(*) inum,
integer, dimension(nspmd+1,*) dd_iad,
integer, dimension(*) iadd,
integer nbpart,
integer, dimension(nspmd,*) iadg,
integer, dimension(nisp,*) kxsp )

Definition at line 31 of file delnumb0.F.

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
39#include "com01_c.inc"
40#include "sphcom.inc"
41#include "param_c.inc"
42#include "task_c.inc"
43#include "spmd_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER IPARG(NPARG,*),EL2FA(*),INUM(*),
48 . NBF,IADG(NSPMD,*),KXSP(NISP,*)
49 INTEGER DD_IAD(NSPMD+1,*), IADD(*), NBPART
50C-----------------------------------------------
51 INTEGER NG, ITY, LFT, LLT, N, I, NEL, IAD, NFT,
52 . NN1, NN2,BUF
53C-----------------------------------------------
54C
55 nn1 = 1
56 nn2 = nn1 + numsph+maxpjet
57C
58 DO 490 ng=1,ngroup
59 nel =iparg(2,ng)
60 nft =iparg(3,ng)
61 iad =iparg(4,ng)
62 ity =iparg(5,ng)
63 lft=1
64 llt=nel
65C-----------------------------------------------
66 IF(ity==51)THEN
67C-----------------------------------------------
68C PARTICULES SPH.
69C-----------------------------------------------
70 DO i=lft,llt
71 n = i + nft
72 IF(el2fa(nn1+n)/=0)THEN
73 inum(el2fa(nn1+n)) = kxsp(nisp,n)
74 ENDIF
75 ENDDO
76 ELSE
77 ENDIF
78 490 CONTINUE
79C-----------------------------------------------
80 IF (nspmd == 1) THEN
81 CALL write_i_c(inum,nbf)
82 ELSE
83 IF (ispmd==0) THEN
84 buf = numsphg
85 ELSE
86 buf = 1
87 ENDIF
88
89 CALL spmd_iget_partn(1,nbf,inum,nbpart,iadg,buf,1)
90
91 ENDIF
92C-----------------------------------------------
93C
94 RETURN
subroutine spmd_iget_partn(size, nbf_l, np, nbpart, iadg, srbuf, iflag)
void write_i_c(int *w, int *len)