#include "implicit_f.inc"
#include "task_c.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | drbycnt (nerby, npby, fr_rby2) |
◆ drbycnt()
| subroutine drbycnt |
( |
integer | nerby, |
|
|
integer, dimension(nnpby,*) | npby, |
|
|
integer, dimension(3,*) | fr_rby2 ) |
Definition at line 32 of file drbycnt.F.
33
34
35
36#include "implicit_f.inc"
37
38
39
40#include "task_c.inc"
41#include "com01_c.inc"
42#include "com04_c.inc"
43#include "param_c.inc"
44
45
46
47 INTEGER NERBY,NERWL,NPBY(NNPBY,*),FR_RBY2(3,*)
48
49
50
51 INTEGER I,LOC_PROC
52
53 loc_proc = ispmd+1
54 IF (nspmd == 1) THEN
55 DO i=1,nrbody
56 nerby = nerby + npby(2,i)
57 ENDDO
58 ELSE
59 DO i=1,nrbody
60 IF (abs(fr_rby2(3,i))==loc_proc)
61 . nerby = nerby + fr_rby2(2,i)
62 ENDDO
65 ENDIF
66
67 RETURN
subroutine spmd_ibcast(tabi, tabr, n1, n2, from, add)
subroutine spmd_glob_isum9(v, len)