principia_materia.representation.direct_product module
- class principia_materia.representation.direct_product.DirectProduct(pg, irrep_inputs, tol=1e-06)
Bases:
BaseRepresentation
Compute direct product representation of irreducible representations of a point group
- Parameters:
pg (str or PointGroup object) – The point group
irrep_inputs (list of str or tuple) – A list of irreducible representations to compute direct product with. Must be types supported by parser
get_irrep_name
.tol (float, optional, default to 1.0E-6) – Error tolerence.
- property irrep_matr
- principia_materia.representation.direct_product.get_irrep_name(ir)
Find name of irreducible representation from input
- Parameters:
ir (tuple or str) –
Irreducible representation. Following types are supported:
tuple type: (<irrep name>, <irrep instance>)
irrep name in str type
str type: “<irrep name>[<irrep instance>]”