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

Go to the source code of this file.

Functions/Subroutines

subroutine c_bufel (iparg, proc, lbufel_l)

Function/Subroutine Documentation

◆ c_bufel()

subroutine c_bufel ( integer, dimension(nparg,*) iparg,
integer proc,
integer lbufel_l )

Definition at line 29 of file c_bufel.F.

30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C C o m m o n B l o c k s
36C-----------------------------------------------
37#include "com01_c.inc"
38#include "param_c.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER PROC, LBUFEL_L,
43 . IPARG(NPARG,*)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER NG, P
48C
49 lbufel_l = 0
50 DO ng=1,ngroup
51 p = iparg(32,ng)
52 IF(p==proc) THEN
53 IF(ng<ngroup) THEN
54 lbufel_l = lbufel_l + iparg(4,ng+1) - iparg(4,ng)
55 ELSE
56 lbufel_l = lbufel_l + lbufel + 1 - iparg(4,ng)
57 ENDIF
58 ENDIF
59 ENDDO
60C
61 RETURN