2 ! { dg-options "-O2 -ftree-vectorize" }
5 CHARACTER(8) PLACE
! Keyword "NODE" or "POSITION"
7 TYPE (spot_weld_type
), DIMENSION(:), ALLOCATABLE
:: SPOT_WELD
8 INTEGER, PARAMETER :: LSRT
= 12 ! Length of sorted-element-distance array
10 & IETYP(LSRT
) ! -/- Sort array for closest el's, 0/1=tri/qu
12 & DSQRD(LSRT
) ! -/- Sort array for closest el's, d**2
16 IF (SPOT_WELD(NSW
)%PLACE
.EQ
. 'POSITION') THEN
20 DO WHILE (Distance_Squared
.GT
. DSQRD(n
) .AND
. n
.LE
. LSRT
)
29 IF (IETYP(n
) .EQ
. 0) THEN
31 & Xi1EL(n
) .GE
. 0.0 .AND
. Xi2EL(n
) .GE
. 0.0
32 IF (DSQRD(n
) .LT
. Dmin
) THEN
37 IF (Icount
.GT
. 0) THEN
57 IF (.NOT
.COINCIDENT
) THEN
59 IF (NP(i
) .GT
. 0) THEN