#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 | drbe3cnt (nerbe3, irbe3, lrbe3, weight) |
◆ drbe3cnt()
| subroutine drbe3cnt |
( |
integer | nerbe3, |
|
|
integer, dimension(nrbe3l,*) | irbe3, |
|
|
integer, dimension(*) | lrbe3, |
|
|
integer, dimension(*) | weight ) |
Definition at line 32 of file drbe3cnt.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 NERBE3,NERWL,IRBE3(NRBE3L,*),WEIGHT(*),
47 . LRBE3(*)
48
49
50
51 INTEGER I,N,MSN
52
53
54 DO i=1,nrbe3
55 msn = irbe3(5,i)
56 DO n=1,msn
57 IF (weight(lrbe3(irbe3(1,i)+n))==1)
58 . nerbe3 = nerbe3 + 1
59 ENDDO
60 ENDDO
62 IF(nspmd > 1)
CALL spmd_ibcast(nerbe3,nerbe3,1,1,0,2)
63
64 RETURN
subroutine spmd_ibcast(tabi, tabr, n1, n2, from, add)
subroutine spmd_glob_isum9(v, len)