#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | drbe2cnt (nerbe2, irbe2, lrbe2, weight) |
◆ drbe2cnt()
| subroutine drbe2cnt |
( |
integer | nerbe2, |
|
|
integer, dimension(nrbe2l,*) | irbe2, |
|
|
integer, dimension(*) | lrbe2, |
|
|
integer, dimension(*) | weight ) |
Definition at line 32 of file drbe2cnt.F.
33
34
35
36#include "implicit_f.inc"
37
38
39
40#include "com01_c.inc"
41#include "com04_c.inc"
42#include "param_c.inc"
43
44
45
46 INTEGER NERBE2,NERWL,IRBE2(NRBE2L,*),WEIGHT(*),
47 . LRBE2(*)
48
49
50
51 INTEGER I,N,NSN
52
53
54 DO i=1,nrbe2
55 nsn = irbe2(5,i)
56 DO n=1,nsn
57 IF (weight(lrbe2(irbe2(1,i)+n))==1) nerbe2 = nerbe2 + 1
58 ENDDO
59 ENDDO
61 IF(nspmd > 1)
CALL spmd_ibcast(nerbe2,nerbe2,1,1,0,2)
62
63 RETURN
subroutine spmd_ibcast(tabi, tabr, n1, n2, from, add)
subroutine spmd_glob_isum9(v, len)