#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | i4gmx3 (x, irect, i, gapmax) |
◆ i4gmx3()
| subroutine i4gmx3 |
( |
| x, |
|
|
integer, dimension(4,*) | irect, |
|
|
integer | i, |
|
|
| gapmax ) |
Definition at line 34 of file i4gmx3.F.
35
36
37
38
39#include "implicit_f.inc"
40
41
42
43 INTEGER I
45 . gapmax
46 INTEGER IRECT(4,*)
48 . x(3,*)
49
50
51
52 INTEGER JPERM(4), JJ, N1, N2
54 . xl
55
56 DATA jperm/2,3,4,1/
57
58
59
60 DO jj=1,4
61 n1=irect(jj,i)
62 n2=irect(jperm(jj),i)
63 xl=(x(1,n1)-x(1,n2))**2
64 . +(x(2,n1)-x(2,n2))**2
65 . +(x(3,n1)-x(3,n2))**2
66 IF(xl>zero.AND.n1/=n2)gapmax=
min(gapmax,xl)
67 END DO
68
69 RETURN