Skip to content

Commit

Permalink
unset host structure magmoms in approx neb endpoint calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
esoteric-ephemera committed Nov 12, 2024
1 parent d40b733 commit cb23484
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/atomate2/vasp/jobs/approx_neb.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ def get_endpoints_and_relax(
ep_distinct.extend([ini, fin])
ep_distinct = list(set(ep_distinct))

# In principle, it makes sense to use the magmoms from the host
# structure to initialize the host + inserted working ion calcs
# In practice, this throws unfixable "Bravais" errors in VASP
# (the actual reciprocal lattice does not have the expected
# symmetry of the ideal reciprocal lattice.)
if host_structure.site_properties.get("magmom") is not None:
host_structure.remove_site_property("magmom")

ep_relax_output = {}
ep_relax_jobs = []
for ep_index, ep_coords in endpoint_coords.items():
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit cb23484

Please sign in to comment.