#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | w_las (las, nc, nodlocal, len_ia) |
◆ w_las()
| subroutine w_las |
( |
integer, dimension(*) | las, |
|
|
integer | nc, |
|
|
integer, dimension(*) | nodlocal, |
|
|
integer | len_ia ) |
Definition at line 30 of file w_las.F.
31
32
33
34#include "implicit_f.inc"
35
36
37
38 INTEGER NC, , LAS(*), NODLOCAL(*)
39
40
41
42 INTEGER I, J, N1, N2, NI, NL, K1
43
44 k1 = 1
45 DO i = 1, nc
47 n1 = las(k1+1)
48 n2 = las(k1+2)
49 IF(n1==0 .OR. n2==0)cycle
50 las(k1+1) = nodlocal(n1)
51 las(k1+2) = nodlocal(n2)
52 k1 = k1 + 6 + 2*(
nl+1)
53 ENDDO
55 len_ia = len_ia + k1-1
56
57 RETURN
character *2 function nl()
void write_i_c(int *w, int *len)