CALL SPRIND(S,PS,AN,LSTR,NDI,NSHR)
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.
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).