Package ffx.crystal
Class SpaceGroupConversions
java.lang.Object
ffx.crystal.SpaceGroupConversions
This class holds the functionality to convert between equivalent space groups.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Crystal
hrConversion
(double a, double b, double c, double alpha, double beta, double gamma, SpaceGroup currentSG) Convert between hexagonal and rhombohedral space groups.static Crystal
hrConversion
(Crystal crystal) Convert between hexagonal and rhombohedral space groups.
-
Method Details
-
hrConversion
Convert between hexagonal and rhombohedral space groups.- Parameters:
crystal
- Crystal parameters to be converted.- Returns:
- Converted crystal.
-
hrConversion
public static Crystal hrConversion(double a, double b, double c, double alpha, double beta, double gamma, SpaceGroup currentSG) Convert between hexagonal and rhombohedral space groups.- Parameters:
a
- proposed axis lengthb
- proposed axis lengthc
- proposed axis lengthalpha
- proposed anglebeta
- proposed anglegamma
- proposed anglecurrentSG
- Space group to be converted- Returns:
- Converted crystal satisfying other lattice system.
-