Class MillerIndices
java.lang.Object
org.episteme.natural.chemistry.crystallography.MillerIndices
Miller Indices (hkl) for crystal planes.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculateInterplanarSpacingCubic(double a) Calculates interplanar spacing (d-spacing) for a Cubic system. d = a / sqrt(h^2 + k^2 + l^2)toString()
-
Field Details
-
h
public final int h -
k
public final int k -
l
public final int l
-
-
Constructor Details
-
MillerIndices
public MillerIndices(int h, int k, int l)
-
-
Method Details
-
calculateInterplanarSpacingCubic
public double calculateInterplanarSpacingCubic(double a) Calculates interplanar spacing (d-spacing) for a Cubic system. d = a / sqrt(h^2 + k^2 + l^2)- Parameters:
a- Lattice constant (length)- Returns:
- d-spacing
-
toString
-