Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Scine::Qmmm::QmmmGradientsEvaluator Class Reference
Collaboration diagram for Scine::Qmmm::QmmmGradientsEvaluator:
Collaboration graph

Public Member Functions

 QmmmGradientsEvaluator (const Utils::GradientCollection &qmGradients, const Utils::GradientCollection &mmGradients, const Utils::GradientCollection &pcGradients, const std::vector< int > &listOfQmAtoms, const std::vector< int > &mmBoundaryAtoms, const std::vector< std::list< int >> &listsOfNeighbors, const Utils::AtomCollection &fullStructure, const Utils::AtomCollection &qmRegion)
 Constructor. More...
 
Utils::GradientCollection calculateQmmmGradients ()
 Calculates the QM/MM gradient from all the components given in the constructor. More...
 

Constructor & Destructor Documentation

Scine::Qmmm::QmmmGradientsEvaluator::QmmmGradientsEvaluator ( const Utils::GradientCollection qmGradients,
const Utils::GradientCollection mmGradients,
const Utils::GradientCollection pcGradients,
const std::vector< int > &  listOfQmAtoms,
const std::vector< int > &  mmBoundaryAtoms,
const std::vector< std::list< int >> &  listsOfNeighbors,
const Utils::AtomCollection fullStructure,
const Utils::AtomCollection qmRegion 
)

Constructor.

Parameters
qmGradientsGradients of the QM calculation.
mmGradientsGradients of the MM calculation.
pcGradientsGradients Contributions from the point charges. This is empty if there is no electrostatic embedding.
listOfQmAtomsA vector containing the indices of the QM atoms.
mmBoundaryAtomsA vector that contains the indices of the MM atoms that are bonded to QM atoms.
listsOfNeighborsA vector containing a list of neighboring atom indices (covalently bonded) for every atom.
fullStructureThe full system's molecular structure.
qmRegionThe QM regions molecular structure containing also the link atoms.

Member Function Documentation

Utils::GradientCollection Scine::Qmmm::QmmmGradientsEvaluator::calculateQmmmGradients ( )

Calculates the QM/MM gradient from all the components given in the constructor.

Returns
The QM/MM gradients.

The documentation for this class was generated from the following files: