#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | voisin1 (nc1, nc2, i1, i2, inv) |
◆ voisin1()
| subroutine voisin1 |
( |
integer, dimension(*) | nc1, |
|
|
integer, dimension(*) | nc2, |
|
|
integer | i1, |
|
|
integer | i2, |
|
|
integer | inv ) |
Definition at line 28 of file voisin1.F.
29
30
31
32#include "implicit_f.inc"
33
34
35
36
37 INTEGER NC1(*),NC2(*),INV,I1 ,I2
38
39
40
41
42
43
44
45
46
47
48
49
50
51 INTEGER I,J,J1,J2
52
53 j1=0
54 DO i= 1,4
55 IF (i1==nc2(i)) j1=i
56 END DO
57 IF (j1==4) j1=0
58 IF (nc2(j1+1)==i2) THEN
59 inv = 1
60 ELSE
61 inv = 0
62 END IF
63
64 RETURN