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

Go to the source code of this file.

Functions/Subroutines

subroutine dparrby (lpby, npby)

Function/Subroutine Documentation

◆ dparrby()

subroutine dparrby ( integer, dimension(*) lpby,
integer, dimension(nnpby,*) npby )

Definition at line 30 of file dparrby.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 "com04_c.inc"
39#include "param_c.inc"
40#include "task_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NPBY(NNPBY,*),LPBY(*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I, K, N,
49 . NSN, II(2)
50C-----------------------------------------------
51C seul le proc 0 effectue le traitement
52 IF (ispmd/=0) GOTO 100
53C
54 k=0
55 DO i=1,nrbykin
56 nsn = npby(2,i)
57 ii(1) = npby(1,i) - 1
58 DO n=1,nsn
59 ii(2) = lpby(n+k)-1
60 CALL write_i_c(ii,2)
61 ENDDO
62 k = k + nsn
63 ENDDO
64 DO i=nrbykin+1,nrbody
65 nsn = npby(2,i)
66 ii(1) = npby(1,i) - 1
67 DO n=1,nsn
68 ii(2) = lpby(n+k)-1
69 CALL write_i_c(ii,2)
70 ENDDO
71 k = k + nsn*3
72 ENDDO
73C
74 100 CONTINUE
75 RETURN
void write_i_c(int *w, int *len)