Scine::Swoose
2.1.0
This is the SCINE module Swoose.
|
This class handles the elimination of MM interaction terms, which are already covered by the QM calculation in QM/MM. More...
#include <InteractionTermEliminator.h>
Public Member Functions | |
InteractionTermEliminator (const std::vector< int > &listOfQmAtoms, std::shared_ptr< MolecularMechanics::MolecularMechanicsCalculator > calculator) | |
Constructor. | |
void | eliminateInteractionTerms (bool electrostaticEmbedding, bool eliminateEnvironmentOnlyTerms=false) |
Eliminates the interactions terms in an MM calculator for QM/MM, which are already covered by the QM calculation. More... | |
void | reset () |
Enables all of the interactions terms (reverting elimination and therefore resetting the state of the MM). | |
This class handles the elimination of MM interaction terms, which are already covered by the QM calculation in QM/MM.
void Scine::Qmmm::InteractionTermEliminator::eliminateInteractionTerms | ( | bool | electrostaticEmbedding, |
bool | eliminateEnvironmentOnlyTerms = false |
||
) |
Eliminates the interactions terms in an MM calculator for QM/MM, which are already covered by the QM calculation.
electrostaticEmbedding | Whether electrostatic embedding is switched on in the QM/MM calculator. |
eliminateEnvironmentOnlyTerms | Whether the terms that are only located within the environment shall be eliminated. |