Small bug fixed
This commit is contained in:
parent
54bd6c20f4
commit
56a8808938
20
irrep.jl
20
irrep.jl
|
|
@ -2,12 +2,15 @@ using DelimitedFiles
|
|||
rotations = readdlm("rotations.mat", ',', Int, '\n')
|
||||
rotations = reshape(rotations, (24, 3, 3))
|
||||
|
||||
N = 24
|
||||
ks = -N÷2:N÷2-1
|
||||
lattice = hcat((collect.(Iterators.product(ks, ks, ks)))...)
|
||||
labels = reshape(collect(1:N^3), (N, N, N))
|
||||
function get_A1_labels(N::Int)
|
||||
rotations = readdlm("rotations.csv", ',', Int, '\n')
|
||||
rotations = reshape(rotations, (24, 3, 3))
|
||||
|
||||
for r in 1:24
|
||||
ks = -N÷2:N÷2-1
|
||||
lattice = hcat((collect.(Iterators.product(ks, ks, ks)))...)
|
||||
labels = reshape(collect(1:N^3), (N, N, N))
|
||||
|
||||
for r in 1:24
|
||||
rotated_lattice = Matrix(rotations[r, :, :]) * lattice
|
||||
for index in 1:N^3
|
||||
rotated_lattice_point = rotated_lattice[:, index]
|
||||
|
|
@ -20,6 +23,11 @@ for r in 1:24
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return labels
|
||||
end
|
||||
|
||||
unique(labels)
|
||||
function sym_reduce(N::Int, K_full)
|
||||
|
||||
end
|
||||
Loading…
Reference in New Issue