prdist
C PRDIST SOURCE FANDEUR 22/06/02 21:15:06 11371 SUBROUTINE PRDIST IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) -INC PPARAM -INC CCOPTIO -INC SMCOORD INTEGER IP1,IP2 CHARACTER*(8) TYPOBJ TYPOBJ = 'POINT ' IF (IERR.NE.0) RETURN IF (IP1 .NE. IP2) THEN SEGACT,MCOORD IDIMP1 = IDIM + 1 ip1 = (IP1-1)*IDIMP1 ip2 = (IP2-1)*IDIMP1 IF (IDIM .EQ. 3) THEN & + (XCOOR(ip1+2) - XCOOR(ip2+2))**2 & + (XCOOR(ip1+3) - XCOOR(ip2+3))**2 ELSE IF (IDIM .EQ. 2) THEN & + (XCOOR(ip1+2) - XCOOR(ip2+2))**2 ELSE IF (IDIM .EQ. 1) THEN ELSE END IF END IF c return END
© Cast3M 2003 - Tous droits réservés.
Mentions légales