Skip to main content

Module space_groups

Module space_groups 

Source
Expand description

Crystallographic space groups (230 groups).

Each space group entry contains:

  • ITC number (1–230)
  • Hermann-Mauguin symbol
  • Crystal system
  • Lattice type (P, I, F, C, R, A, B)
  • Point group
  • Symmetry operations (as rotation matrix + translation vector)

Structs§

SpaceGroup
A crystallographic space group.
SymmetryOp
A symmetry operation: rotation matrix (3×3 integers) + translation vector (rational, stored as f64).

Enums§

CrystalSystem
Crystal system classification.
LatticeType
Lattice centering type.

Functions§

all_space_groups
Get all 230 space group numbers and symbols.
crystal_system_for_number
Get crystal system for a given space group number.
space_group_by_number
Look up a space group by ITC number.
space_group_by_symbol
Look up a space group by Hermann-Mauguin symbol.