H.K.D.H. Bhadeshia,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.
Calculates the metric tensor and its inverse for a monoclinic crystal.
Language: | FORTRAN |
Product form: | Source code |
MAP_CRYSTAL_TENSOR5 calculates the metric tensor and its inverse for a monoclinic crystal structure.
IFAIL = 1 if BETA is outside the range 0 - 180 degrees.
No information supplied.
None.
REAL F(9), G(9), AP, BP, CP, BETA, PI INTEGER I, IFAIL INCLUDE 'map_constants_pi.f' READ (5,*) AP, BP, CP, BETA CALL MAP_CRYSTAL_TENSOR5(F, G, AP, BP, CP, BETA, PI, IFAIL) IF (IFAIL.NE.0) GOTO 20 WRITE (6,*) (G(I), I=1,9) WRITE (6,*) (F(I), I=1,9) GOTO 60 20 WRITE(6,40) BETA 40 FORMAT('Invalid value BETA=',F8.4,'. Must be in range 0 - 180') 60 CONTINUE STOP END
1.0 1.5 2.0
1.00 0. 1.73205 0. 2.25 0. 1.73205 0. 4.00 4.00 0. -1.73205 0. 0.444444 0. -1.73205 0. 1.00
Subroutines:
MAP_CRYSTAL_MET5
Utility Subroutines:
MAP_UTIL_INVERS
monoclinic, metric tensor, inverse
MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.
MAP Website administration / map@msm.cam.ac.uk