From c5b68e065ddeaacf5fa01ac6e1c2c6da29c6671c Mon Sep 17 00:00:00 2001 From: thchr Date: Mon, 18 Dec 2023 14:49:53 +0100 Subject: [PATCH] =?UTF-8?q?export=20`=E2=8A=95`=20-=20also=20minor=20fixup?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Crystalline.jl | 1 + src/types.jl | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Crystalline.jl b/src/Crystalline.jl index 10b8ddec..0c8ac485 100644 --- a/src/Crystalline.jl +++ b/src/Crystalline.jl @@ -65,6 +65,7 @@ export SymOperation, # types klabel, characters, # ::AbstractIrrep classcharacters, label, reality, group, + ⊕, israyrep, # ::LGIrrep isspecial, dim, parts, # ::KVec & RVec diff --git a/src/types.jl b/src/types.jl index c13ea811..80480469 100644 --- a/src/types.jl +++ b/src/types.jl @@ -612,7 +612,6 @@ Abstract supertype for irreps of dimensionality `D`: must have fields `cdml`, `m `irreps` that returns the associated irrep matrices; if not, will simply be `matrices`. """ abstract type AbstractIrrep{D} end -(ir::AbstractIrrep)(αβγ=nothing) = deepcopy(ir.matrices) group(ir::AbstractIrrep) = ir.g label(ir::AbstractIrrep) = ir.cdml matrices(ir::AbstractIrrep) = ir.matrices @@ -649,11 +648,11 @@ iscorep(ir::AbstractIrrep) = ir.iscorep Compute the representation obtained from direct sum of the irreps `ir1`, `ir2`, `ir3`, etc. The resulting representation is reducible and has dimension -`irdim(ir1)+irdim(ir2)+irdim(ir3)+...`. +`irdim(ir1) + irdim(ir2) + irdim(ir3) + …`. The groups of the provided irreps must be identical. -If `T isa LGIrrep`, the irrep translation factor must also be identical (due to a technical -limitation of the `LGIrrep` data structure). +If `T isa LGIrrep`, the irrep translation factors must also be identical (due to an +implementation detail of the `LGIrrep` type). Also provided via `Base.:+`. """