29
30
31
32#include "implicit_f.inc"
33
34
35
36#include "com01_c.inc"
37#include "com04_c.inc"
38#include "param_c.inc"
39#include "tabsiz_c.inc"
40
41
42
43 INTEGER NL, NS1, NS2
45 . xlas(sxlas),x(3,numnod)
46 INTEGER IPARG(NPARG,NGROUP),LAS(2,SILAS/2),IXQ(7,NUMELQ)
47
48
49
50 INTEGER IL, NG, ITY, NFT, NEL, I, NE1, NE2, NFOUND, N1, J, N2 , II, NEXT
51 LOGICAL lFOUND
52
53
54
56 next = las(1,il)
57 lfound = .false.
58 DO ng=1,ngroup
59 ity=iparg(5,ng)
60 IF(ity/=2) cycle
61 nft=iparg(3,ng)
62 nel=iparg(2,ng)
63 DO i=1,nel
64 ii = i + nft
65 IF(ixq(7,ii) /= next) cycle
66 las(1,il) = ng
67 las(2,il) = i
68 lfound = .true.
69 EXIT
70 END DO
71 IF(lfound)EXIT
72 END DO
73 END DO
74
75
76
77
78
79 ne1 = las(2,
nl) + iparg(3,las(1,
nl))
80 ne2 = las(2,
nl+1) + iparg(3,las(1,
nl+1))
81 nfound = 0
82 DO i=1,4
83 n1 = ixq(i+1,ne1)
84 DO j=1,4
85 n2 = ixq(j+1,ne2)
86 IF(n1==n2)THEN
87 IF(nfound==0)THEN
88 ns1 = n1
89 nfound = 1
90 EXIT
91 ELSEIF(nfound==1)THEN
92 ns2 = n1
93 GOTO 160
94 ENDIF
95 ENDIF
96 END DO
97 END DO
98
99 160 CONTINUE
100
101 RETURN
character *2 function nl()