Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
- also minor fixups
  • Loading branch information
thchr committed Dec 18, 2023
1 parent 16bfced commit c5b68e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Crystalline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export SymOperation, # types
klabel, characters, # ::AbstractIrrep
classcharacters,
label, reality, group,
,
israyrep, # ::LGIrrep
isspecial,
dim, parts, # ::KVec & RVec
Expand Down
7 changes: 3 additions & 4 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.:+`.
"""
Expand Down

0 comments on commit c5b68e0

Please sign in to comment.