Skip to content

Commit

Permalink
add conversion to xx yy zz xy xz yz
Browse files Browse the repository at this point in the history
  • Loading branch information
m-julian committed Feb 23, 2024
1 parent 6aaaec9 commit 0b55403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ichor_core_subpackage/ichor/core/multipoles/quadrupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ def recover_molecular_quadrupole(
molecular_quadrupole = np.array(
unpack_cartesian_quadrupole(molecular_quadrupole)
)
# convert to xx, yy, zz, xy, xz, yz because that is what GAUSSIAN and ORCA use
molecular_quadrupole = molecular_quadrupole[[0, 3, 5, 1, 2, 4]]

if include_prefactor:
molecular_quadrupole = (2 / 3) * molecular_quadrupole
Expand Down

0 comments on commit 0b55403

Please sign in to comment.