Go to the source code of this file.
|
| integer function | indxl2g (indxloc, nb, iproc, isrcproc, nprocs) |
◆ indxl2g()
| integer function indxl2g |
( |
integer | indxloc, |
|
|
integer | nb, |
|
|
integer | iproc, |
|
|
integer | isrcproc, |
|
|
integer | nprocs ) |
Definition at line 1 of file indxl2g.f.
2
3
4
5
6
7
8
9 INTEGER INDXLOC, , ISRCPROC, NB, NPROCS
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 INTRINSIC mod
45
46
47
48 indxl2g = nprocs*nb*((indxloc-1)/nb) + mod(indxloc-1,nb) +
49 $ mod(nprocs+iproc-isrcproc, nprocs)*nb + 1
50
51 RETURN
52
53
54
integer function indxl2g(indxloc, nb, iproc, isrcproc, nprocs)