#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | w_ieloc (itab, cep, p, numel, numel_l, len_ia) |
◆ w_ieloc()
| subroutine w_ieloc |
( |
integer, dimension(*) | itab, |
|
|
integer, dimension(*) | cep, |
|
|
integer | p, |
|
|
integer | numel, |
|
|
integer | numel_l, |
|
|
integer | len_ia ) |
Definition at line 30 of file w_ieloc.F.
31
32
33
34#include "implicit_f.inc"
35
36
37
38 INTEGER ITAB(*), CEP(*), P, , NUMEL_L, LEN_IA
39
40
41
42 INTEGER I, EL
43 INTEGER,DIMENSION(:), ALLOCATABLE :: ITMP
44
45 ALLOCATE(itmp(numel_l))
46
47 el = 0
48 DO i = 1, numel
49 IF(cep(i)==p) THEN
50 el = el + 1
51 itmp(el) = itab(i)
52 ENDIF
53 ENDDO
54
56 len_ia = len_ia + numel_l
57 DEALLOCATE(itmp)
58
59 RETURN
void write_i_c(int *w, int *len)