#include "implicit_f.inc"
#include "com01_c.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | c_bufel (iparg, proc, lbufel_l) |
◆ c_bufel()
| subroutine c_bufel |
( |
integer, dimension(nparg,*) | iparg, |
|
|
integer | proc, |
|
|
integer | lbufel_l ) |
Definition at line 29 of file c_bufel.F.
30
31
32
33#include "implicit_f.inc"
34
35
36
37#include "com01_c.inc"
38#include "param_c.inc"
39
40
41
42 INTEGER PROC, LBUFEL_L,
43 . IPARG(NPARG,*)
44
45
46
47 INTEGER NG, P
48
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
60
61 RETURN