SPRIND (calculate principal values and directions)

Interface

      CALL SPRIND(S,PS,AN,LSTR,NDI,NSHR)

Variables to be provided to the utility routine

S

A stress or a strain tensor.

LSTR

An identifier. LSTR=1 indicates that S contains stresses; LSTR=2 indicates that S contains strains.

NDI

Number of direct components.

NSHR

Number of shear components.

Variables returned from the utility routine

PS(I), I=1,2,3

The three principal values.

AN(K1,I), I=1,2,3

The direction cosines of the principal directions corresponding to PS(K1).