[MAP Logo]

Materials Algorithms Project
Program Library



Subroutine MAP_CRYSTAL_ORIENT

  1. Provenance of code.
  2. Purpose of code.
  3. Specification.
  4. Description of subroutine's operation.
  5. References.
  6. Parameter descriptions.
  7. Error indicators.
  8. Accuracy estimate.
  9. Any additional information.
  10. Example of code
  11. Auxiliary subroutines required.
  12. Keywords.
  13. Download source code.
  14. Links.

Provenance of Source Code

H.K.D.H. Bhadeshia,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.

Top | Next

Purpose

Contains rotation matrices defining the symmetry operations of a cubic lattice.

Top | Next | Prev

Specification

Language:FORTRAN
Product form:Source code

SUBROUTINE MAP_CRYSTAL_ORIENT(BEC)

REAL BEC(24,9)

Top | Next | Prev

Description

BEC contains the 24 3x3 rotation matrices which define the symmetry operations of a cubic lattice.

Top | Next | Prev

References

  1. H.K.D.H. Bhadeshia, Worked Examples in the Geometry of Crystals, Institute of Materials, London, 1987.
  2. H.K.D.H. Bhadeshia, Chapter on crystallography in Microstructural Characterisation of High Temperature Materials, ed. E. Metcalfe, Institute of Metals, London, 1988.

Top | Next | Prev

Parameters

Input parameters

See output parameters.

Output parameters

BEC - real array of dimension 24x9.
BEC contains the 24 rotation matrices held in vector form.

Top | Next | Prev

Error Indicators

None.

Top | Next | Prev

Accuracy

No information supplied.

Top | Next | Prev

Further Comments

None.

Top | Next | Prev

Example

1. Program text

       REAL BEC(24,9)
       INTEGER I,J
       CALL MAP_CRYSTAL_ORIENT(BEC)
       DO 10 I=1,24
       WRITE (6,*) (BEC(I,J), J=1,9)
10     CONTINUE
       STOP
       END

2. Program data

No input data required.

3. Program results

 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
 0.0  0.0  1.0  1.0  0.0  0.0  0.0  1.0  0.0
-1.0  0.0  0.0  0.0  0.0 -1.0  0.0 -1.0  0.0
 0.0 -1.0  0.0 -1.0  0.0  0.0  0.0  0.0 -1.0 
 0.0  0.0 -1.0  0.0 -1.0  0.0 -1.0  0.0  0.0
 1.0  0.0  0.0  0.0  0.0  1.0  0.0 -1.0  0.0
 0.0  0.0  1.0  0.0  1.0  0.0 -1.0  0.0  0.0
 0.0  1.0  0.0  1.0  0.0  0.0  0.0  0.0 -1.0
 0.0  0.0 -1.0 -1.0  0.0  0.0  0.0  1.0  0.0
 0.0 -1.0  0.0  0.0  0.0 -1.0  1.0  0.0  0.0
-1.0  0.0  0.0  0.0 -1.0  0.0  0.0  0.0  1.0
 1.0  0.0  0.0  0.0  0.0 -1.0  0.0  1.0  0.0
 0.0  0.0  1.0  0.0 -1.0  0.0  1.0  0.0  0.0
 0.0  1.0  0.0 -1.0  0.0  0.0  0.0  0.0  1.0
 0.0 -1.0  0.0  0.0  0.0  1.0 -1.0  0.0  0.0
 0.0  0.0 -1.0  1.0  0.0  0.0  0.0 -1.0  0.0
-1.0  0.0  0.0  0.0  1.0  0.0  0.0  0.0 -1.0
 0.0  0.0 -1.0  0.0  1.0  0.0  1.0  0.0  0.0
-1.0  0.0  0.0  0.0  0.0  1.0  0.0  1.0  0.0
 0.0 -1.0  0.0  1.0  0.0  0.0  0.0  0.0  1.0
 0.0  1.0  0.0  0.0  0.0 -1.0 -1.0  0.0  0.0
 1.0  0.0  0.0  0.0 -1.0  0.0  0.0  0.0 -1.0

Top | Next | Prev

Auxiliary Routines

None.

Top | Next | Prev

Keywords

rotation matrices, cubic lattice

Top | Next | Prev

Download

Download source code

Top | Prev


MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.

MAP Website administration / map@msm.cam.ac.uk

Top | Index | MAP Homepage Valid HTML 3.2!