OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_ibvel.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 c_ibvel (ibvel, lbvel, llbvel_l, nskyrbm_l, proc)

Function/Subroutine Documentation

◆ c_ibvel()

subroutine c_ibvel ( integer, dimension(nbvelp,*) ibvel,
integer, dimension(*) lbvel,
integer llbvel_l,
integer nskyrbm_l,
integer proc )

Definition at line 31 of file c_ibvel.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com01_c.inc"
44#include "com04_c.inc"
45#include "param_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER PROC, LLBVEL_L,NSKYRBM_L,
50 . IBVEL(NBVELP,*), LBVEL(*)
51C-----------------------------------------------
52C F u n c t i o n
53C-----------------------------------------------
54 INTEGER NLOCAL
55 EXTERNAL nlocal
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I, J, K, NSN, ILP, N
60C
61 ilp = 0
62 k = 0
63 DO i = 1, nibvel
64 nsn = ibvel(3,i)
65 DO j = 1, nsn
66 n = lbvel(k+j)
67 IF (nlocal(n,proc+1)==1)THEN
68 ilp = ilp + 1
69 ENDIF
70 ENDDO
71 k = k + nsn
72 ENDDO
73C
74 llbvel_l = ilp
75 IF(ipari0/=0) nskyrbm_l = llbvel_l
76C
77 RETURN
integer function nlocal(n, p)
Definition ddtools.F:349