Skip to content

Phonon band structure using Phoebe #172

Answered by jcoulter12
wugaxp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Gang,

Thanks to your helpful comments, I was able to pin down the issue! We really appreciate that you reported this.

The reason it works when the fc2 and fc3 supercells are the same is because the write_fc2_to_hdf5 block of code needs to be changed to:

write_fc2_to_hdf5(
  ph3.fc2,
  p2s_map=ph3.phonon_primitive.p2s_map,  # changed from ph3.primitive.p2s_map
  physical_unit="eV/angstrom^2",
)

We were previously writing the primitive cell to supercell mapping for the fc3s to fc2.hdf5. Changing that line to ph3.phonon_primitive.p2s_map in the write_fc2_to_hdf5 function instead should fix the problem -- please let me know ASAP if it doesn't. I'll also update the tutorial accordingly!

Ad…

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
3 replies
@wugaxp
Comment options

@wugaxp
Comment options

@YuuuXie
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@wugaxp
Comment options

@wugaxp
Comment options

Comment options

You must be logged in to vote
6 replies
@jcoulter12
Comment options

@wugaxp
Comment options

@jcoulter12
Comment options

@wugaxp
Comment options

@jcoulter12
Comment options

Answer selected by wugaxp
Comment options

You must be logged in to vote
4 replies
@jcoulter12
Comment options

@wugaxp
Comment options

@anjohan
Comment options

@wugaxp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
4 participants