Skip to content

Commit

Permalink
Append MM1 atom index to the qm_atoms vector.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jan 22, 2024
1 parent 4289f1c commit 4332bb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrapper/Convert/SireOpenMM/emle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,9 @@ double EMLEEngineImpl::computeForce(
// Add to the QM positions.
xyz_qm.append(QVector<double>({link_vec[0], link_vec[1], link_vec[2]}));

// Add the MM1 index to the QM atoms vector.
qm_atoms.append(qm_idx);

// Append a hydrogen element to the numbers vector.
numbers.append(1);

Expand Down

0 comments on commit 4332bb2

Please sign in to comment.