knorm2
C KNORM2 SOURCE CB215821 16/04/21 21:17:32 8920 IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) DIMENSION CM(NES,NCM),U(*),V(2) C DO 10 K=1,NES V(K)=CM(K,2)-CM(K,1) 10 CONTINUE S=0 DO 20 K=1,NES S=S+V(K)*V(K) 20 CONTINUE S=SQRT(S) U(1) = -V(2)/S U(2) = V(1)/S U(3) = -(U(1)*CM(1,1)+U(2)*CM(2,1)) RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales