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
To check for systematic absences in various lattice types.
Top |
Next |
Prev
Language: | FORTRAN
|
Product form: | Source code |
SUBROUTINE MAP_CRYSTAL_TYPE(H, K, L, JTYPE, JLOG)
REAL H, K, L
INTEGER JTYPE, JLOG
Top |
Next |
Prev
MAP_CRYSTAL_TYPE checks the lattice planes of a crystal of a specified lattice type for systematic absences.
Top |
Next |
Prev
- D. McKie and C. McKie, Essentials of Crystallography, Blackwell
Scientific Publ., London, 1986, 197.
Top |
Next |
Prev
Input parameters
- H, K, L - reals
- JTYPE - integer
- JTYPE defines the lattice type:-
- JTYPE=1 is for primitive.
- JTYPE=2 is for body-centered cubic.
- JTYPE=3 is for face-centered cubic.
- JTYPE=4 is for A-centered.
- JTYPE=5 is for B-centered.
- JTYPE=6 is for C-centered.
Output parameters
- JLOG - integer
- JLOG is set to 0 if the HKL is not absent, 1 if it is.
Top |
Next |
Prev
None.
Top |
Next |
Prev
Ideally, H,K,L, should be integers.
Top |
Next |
Prev
None.
Top |
Next |
Prev
1. Program text
REAL H, K, L
INTEGER JTYPE, JLOG
READ (5,*) H, K, L
READ (5,*) JTYPE
CALL MAP_CRYSTAL_TYPE(H, K, L, JTYPE, JLOG)
WRITE (6,*) JLOG
STOP
END
2. Program data
2.0 0.0 3.0
3
3. Program results
1
Top |
Next |
Prev
Utility Subroutines:
MAP_UTIL_ODD
Top |
Next |
Prev
systematic absence, lattice plane
Top |
Next |
Prev
Download source code
Top |
Prev