Materials Algorithms Project
Program Library
- Provenance of code.
- Purpose of code.
- Specification.
- Description of subroutine's operation.
- References.
- Parameter descriptions.
- Error indicators.
- Accuracy estimate.
- Any additional information.
- Example of code
- Auxiliary subroutines required.
- Keywords.
- Download source code.
- Links.
H.K.D.H. Bhadeshia,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.
Top |
Next
Calculates the metric tensor and its inverse for an orthorhombic crystal.
Top |
Next |
Prev
Language: | FORTRAN
|
Product form: | Source code |
SUBROUTINE MAP_CRYSTAL_TENSOR3(F, G, AP, BP, CP)
REAL F(9), G(9), AP, BP, CP
Top |
Next |
Prev
MAP_CRYSTAL_TENSOR3 calculates the metric tensor and its inverse for an orthorhombic
crystal structure.
Top |
Next |
Prev
- Microstructural Characterisation of High Temperature Materials,
ed. E. Metcalfe, Institute of Metals, London, 1988, (page 33, Table 3).
Top |
Next |
Prev
Input parameters
- AP, BP, CP - reals
- AP, BP and CP are the lattice parameters for the orthorhombic
crystal.
Output parameters
- F - real array of dimension 9
- F contains the inverse of the metric tensor.
- G - real array of dimension 9
- G contains the metric tensor.
Top |
Next |
Prev
None.
Top |
Next |
Prev
No information supplied.
Top |
Next |
Prev
None.
Top |
Next |
Prev
1. Program text
REAL F(9), G(9), AP, BP, CP
INTEGER I
READ (5,*) AP, BP, CP
CALL MAP_CRYSTAL_TENSOR3(F, G, AP, BP, CP)
WRITE (6,*) (G(I), I=1,9)
WRITE (6,*) (F(I), I=1,9)
STOP
END
2. Program data
0.5 2.0 1.0
3. Program results
0.25 0. 0. 0. 4.00 0. 0. 0. 1.0
4.00 0. 0. 0. 0.25 0. 0. 0. 1.0
Top |
Next |
Prev
Subroutines:
MAP_CRYSTAL_MET3
Utility Subroutines:
MAP_UTIL_INVERS
Top |
Next |
Prev
orthorhombic, metric tensor, inverse
Top |
Next |
Prev
Download source code
Top |
Prev