#include "implicit_f.inc"
#include "com01_c.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | c_ngroup (iparg, proc, numlocgroup, ngroup_l) |
◆ c_ngroup()
| subroutine c_ngroup |
( |
integer, dimension(nparg,*) | iparg, |
|
|
integer | proc, |
|
|
integer, dimension(ngroup) | numlocgroup, |
|
|
integer | ngroup_l ) |
Definition at line 29 of file c_ngroup.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, NGROUP_L, IPARG(NPARG,*)
43 INTEGER NUMLOCGROUP(NGROUP)
44
45
46
47 INTEGER NG, NG_L
48
49 numlocgroup(1:ngroup) = 0
50 ng_l = 0
51 DO ng = 1, ngroup
52 IF(iparg(32,ng)==proc) THEN
53 ng_l = ng_l + 1
54 numlocgroup(ng) = ng_l
55 ENDIF
56 ENDDO
57 ngroup_l = ng_l
58
59 RETURN