OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_ngroup.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_ngroup (iparg, proc, numlocgroup, ngroup_l)

Function/Subroutine Documentation

◆ 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.

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, NGROUP_L, IPARG(NPARG,*)
43 INTEGER NUMLOCGROUP(NGROUP)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER NG, NG_L
48C
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
58C
59 RETURN