Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bandstructures with --TSdir option fails if structure contains a smaller unit cell #35

Open
tfrederiksen opened this issue Mar 6, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tfrederiksen
Copy link
Owner

I found that the Bandstructures script fails to compute the electronic bands if the system is actually a repetition of some smaller unit cell. For instance,

cd inelastica/TestCalculations/C-chains/A1/ELEC
Bandstructures --TSdir=. test
Bandstructures --TSdir=. -k test/symmetry-path test

fails in the last command with the following error:

ev[ispin], evec[ispin] = SLA.eigh(self.h0_k[ispin], self.s0_k)
ValueError: could not broadcast input array from shape (45) into shape (9)

because the system has been identified as a 5x1x1 repetition

Symmetry: Lattice structure
1 atoms in the basis
a1 = (1.300000,0.000000,0.000000), N1=5
a2 = (0.000000,6.500000,0.000000), N2=1
a3 = (0.000000,0.000000,6.500000), N3=1

Perhaps it would be useful if one in this situation could choose to do one of two things

  • ask for the bands corresponding to the smaller unit cell, or
  • compute the folded band structure for the repeated cell.
@brandimarte brandimarte added the bug Something isn't working label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants