#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | i11gmx3 (x, irect, i, gapmax, xl2) |
◆ i11gmx3()
| subroutine i11gmx3 |
( |
| x, |
|
|
integer, dimension(2,*) | irect, |
|
|
integer | i, |
|
|
| gapmax, |
|
|
| xl2 ) |
Definition at line 31 of file i11gmx3.F.
32
33
34
35
36#include "implicit_f.inc"
37
38
39
40 INTEGER I
41
43 . gapmax
44 INTEGER IRECT(2,*)
45
47 . x(3,*),xl2
48
49
50
51 INTEGER JPERM(4), JJ, N1, N2
52
53 DATA jperm/2,3,4,1/
54
55
56
57 n1=irect(1,i)
58 n2=irect(2,i)
59 xl2=(x(1,n1)-x(1,n2))**2
60 . +(x(2,n1)-x(2,n2))**2
61 . +(x(3,n1)-x(3,n2))**2
62 IF(xl2>zero)gapmax=
min(gapmax,xl2)
63
64 RETURN