Skip to content

Commit

Permalink
Parse CHELPG charges from Orca output too
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Nov 30, 2024
1 parent 2ab9f8a commit 369a8f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions avogadro/quantumio/orca.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ void ORCAOutput::processLine(std::istream& in, GaussianSet* basis)
for (unsigned int i = 0; i < 9; ++i) {
getline(in, key); // skip header
}
} else if (Core::contains(key, "CHELPG Charges")) {
// similar to standard charges
m_currentMode = Charges;
m_chargeType = "CHELPG";
getline(in, key); // skip ------------
} else if (Core::contains(key, "ATOMIC CHARGES")) {
m_currentMode = Charges;
// figure out what type of charges we have
Expand Down

0 comments on commit 369a8f2

Please sign in to comment.