Package ffx.crystal
Class SpaceGroup
java.lang.Object
ffx.crystal.SpaceGroup
The Spacegroup class defines the symmetry of a crystal. There are 230 distinct space groups in
three dimensions.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ASULimit[]Real space ASU limit operators.final CrystalSystemCrystal system.final LatticeSystemLattice system.final LaueSystemLaue groupfinal intSpace group number.final intNumber of primitive symmetry equivalents.final StringSpace group name under the PDB convention.final StringPoint group name.final booleanTrue for a Sohncke group (non-enantiogenic).final StringSpace group name.A List of SymOp instances. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpaceGroup(int number, int numSymEquiv, int numPrimitiveSymEquiv, String shortName, String pointGroupName, String pdbName, CrystalSystem crystalSystem, LatticeSystem latticeSystem, LaueSystem laueSystem, ASULimit[] asuLimitOperators, double[] asuLimits, SymOp... symOps) Immutable SpaceGroup instances are made available only through the factory method so this constructor is private. -
Method Summary
Modifier and TypeMethodDescriptionintReturn the number of symmetry operators.getSymOp(int i) Return the ith symmetry operator.booleanCheck if the space group maintains chirality.
-
Field Details
-
number
public final int numberSpace group number. -
numPrimitiveSymEquiv
public final int numPrimitiveSymEquivNumber of primitive symmetry equivalents. -
shortName
Space group name. -
pointGroupName
Point group name. There are 32 distinct points groups, or crystal classes in three dimensions. -
crystalSystem
Crystal system. -
laueSystem
Laue group -
pdbName
Space group name under the PDB convention. -
symOps
A List of SymOp instances. -
respectsChirality
public final boolean respectsChiralityTrue for a Sohncke group (non-enantiogenic). -
asuLimitOperators
Real space ASU limit operators. -
latticeSystem
Lattice system.
-
-
Constructor Details
-
SpaceGroup
protected SpaceGroup(int number, int numSymEquiv, int numPrimitiveSymEquiv, String shortName, String pointGroupName, String pdbName, CrystalSystem crystalSystem, LatticeSystem latticeSystem, LaueSystem laueSystem, ASULimit[] asuLimitOperators, double[] asuLimits, SymOp... symOps) Immutable SpaceGroup instances are made available only through the factory method so this constructor is private.- Parameters:
number- Space group number.numSymEquiv- Number of symmetry equivalents.numPrimitiveSymEquiv- Number of primitive symmetry equivalents.shortName- Short PDB name.pointGroupName- Point group name.pdbName- PDB space group name.crystalSystem- Crystal system.latticeSystem- Lattice system.laueSystem- Laue System.asuLimitOperators- ASULimit instance.asuLimits- Asymmetric unit limit.symOps- Symmetry operators.- Since:
- 1.0
-
-
Method Details
-
getNumberOfSymOps
public int getNumberOfSymOps()Return the number of symmetry operators.- Returns:
- the number of symmetry operators.
- Since:
- 1.0
-
getSymOp
Return the ith symmetry operator.- Parameters:
i- the symmetry operator number.- Returns:
- the SymOp
- Since:
- 1.0
-
respectsChirality
public boolean respectsChirality()Check if the space group maintains chirality.- Returns:
- Return true if chirality is respected.
-