H.K.D.H. Bhadeshia,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.
To calculate the axis-angle pair relating two cubic lattices from an input consisting of a pair of vectors from each crystal, together with an angle between the two sets. All 24 symmetry-related axis-angle pairs are computed.
| Language: | FORTRAN |
| Product form: | Source code |
The orientation relationship between two cubic crystals may be described in terms of an axis-angle pair [X,Y,Z] and N1, or, alternatively, using a rotation matrix R. MAP_CRYSTAL_PAIR calculates these using a pair of vectors from each crystal and the angle between the two sets of vectors. All the vectors are coplanar. All 24 symmetry-related axis-angle pairs are computed.
None.
No information supplied.
None.
REAL H, K, L, H1, K1, L1, U1, V1, W1, U, V, W, PI, PHI
REAL BEC(24,9), R(9), AINVR(9), Q1(23), Q2(23), Q3(23)
REAL X, Y, Z, N1, THET(23)
INCLUDE 'map_constants_pi.f'
READ (5,*) H, K, L
READ (5,*) H1, K1, L1
READ (5,*) U1, V1, W1
READ (5,*) U, V, W
READ (5,*) PHI
CALL MAP_CRYSTAL_PAIR(H, K, L, H1, K1, L1, U1, V1, W1, U, V, W,
& BEC, R, AINVR, PI, X, Y, Z, N1, Q1, Q2, Q3, THET, PHI)
WRITE (6,10) X, Y, Z, N1
WRITE (6,30)
WRITE (6,20) (R(I), I=1,9)
WRITE (6,40)
WRITE (6,20) (AINVR(I), I=1,9)
10 FORMAT ('Direction cosines ',3F8.4, ', Angle ',F8.4)
20 FORMAT (5X, 3F8.4)
30 FORMAT (,'Rotation matrix')
40 FORMAT (,'Inverse matrix')
STOP
END
None supplied.
None supplied.
Subroutines:
MAP_CRYSTAL_ORIENT
MAP_CRYSTAL_ROTAT
Utility Subroutines:
MAP_UTIL_INVERS
MAP_UTIL_NORM
MAP_UTIL_ROT
cubic lattice, rotation matrix, axis-angle pair
MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.
MAP Website administration / map@msm.cam.ac.uk