Menu

#401 Dipole moment resets to 0.0

v_0.9.0
closed
Interface (150)
5
2012-09-12
2009-10-09
No

The dipole moment resets to 0.0 frequently.

Discussion

  • Marcus D. Hanwell

    This is because whenever Molecule::computeGeomInfo() is called the dipole moment is reset. May be the criteria for resetting the dipole moment should be a little looser? I fixed the bug where it would be reset on load, but I thought whenever the molecular geometry was changed then this should be reset.

    Line 1524 in molecule.cpp contains the start of the current logic. Should it only be invalidated in specific circumstances such as atoms being moved/deleted?

     
  • Geoff Hutchison

    Geoff Hutchison - 2009-10-13

    No, the actual cause was my mistake -- I started to use MMFF94 charges, which give a good predictor of dipole moment, but didn't call the force field correctly.

    Fixed in Git for 0.9.9