#include "implicit_f.inc"
#include "com01_c.inc"
Go to the source code of this file.
|
| subroutine | tshcdcom_ini (isend, iad_elem, fr_elem, iad_stsh, fr_stsh) |
◆ tshcdcom_ini()
| subroutine tshcdcom_ini |
( |
integer, dimension(*) | isend, |
|
|
integer, dimension(2,*) | iad_elem, |
|
|
integer, dimension(*) | fr_elem, |
|
|
integer, dimension(*) | iad_stsh, |
|
|
integer, dimension(*) | fr_stsh ) |
Definition at line 28 of file tshcdcom_ini.F.
29
30
31
32
33
34
35#include "implicit_f.inc"
36
37
38
39#include "com01_c.inc"
40
41
42
43 INTEGER ISEND(*),FR_ELEM(*),IAD_ELEM(2,*),FR_STSH(*),IAD_STSH(*)
44
45
46
47 INTEGER I,J,N,IP,NB
48
49 nb = 1
50 iad_stsh(nb) =1
51 DO ip = 1,nspmd
52 DO j= iad_elem(1,ip),iad_elem(1,ip+1)-1
53 n = fr_elem(j)
54 IF (isend(j)>0) THEN
55 fr_stsh(nb) = n
56 nb = nb + 1
57 END IF
58 END DO
59 iad_stsh(ip+1) =nb
60 END DO
61
62 RETURN