Skip to content

Commit

Permalink
Merge pull request #213 from kbspooner/kpoint-degen
Browse files Browse the repository at this point in the history
Kpoint degeneracy
  • Loading branch information
utf authored Oct 11, 2023
2 parents ff141b1 + b9e79b5 commit 9d6b00e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sumo/cli/bandstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def _log_band_edge_information(bs, edge_data):
kpoint = edge_data["kpoint"]
kpoint_str = kpt_str.format(k=kpoint.frac_coords)
k_indices = ", ".join(map(str, edge_data["kpoint_index"]))
k_degen = bs.get_kpoint_degeneracy(kpoint=kpoint.frac_coords)

if kpoint.label:
k_loc = kpoint.label
Expand All @@ -259,6 +260,7 @@ def _log_band_edge_information(bs, edge_data):
logging.info(f" k-point: {kpoint_str}")
logging.info(f" k-point location: {k_loc}")
logging.info(f" k-point indices: {k_indices}")
logging.info(f" k-point degeneracy: {k_degen}")
logging.info(f" Band indices: {b_indices}")


Expand Down

0 comments on commit 9d6b00e

Please sign in to comment.