Scine::Swoose
2.1.0
This is the SCINE module Swoose.
|
Calculator implementing the QM/MM method. More...
#include <QmmmCalculator.h>
Public Member Functions | |
QmmmCalculator () | |
Constructor. | |
~QmmmCalculator () override | |
Destructor. | |
QmmmCalculator (const QmmmCalculator &rhs) | |
Copy Constructor. | |
void | setUnderlyingCalculators (std::vector< std::shared_ptr< Core::Calculator >> underlyingCalculators) override |
Sets the underlying QM and MM calculators. | |
void | addUnderlyingSettings () override |
Sets the underlying QM and MM calculators. | |
std::vector< std::shared_ptr < Core::Calculator > > | getUnderlyingCalculators () const override |
Gets the underlying QM and MM calculators. | |
void | setStructure (const Utils::AtomCollection &structure) override |
Changes the molecular structure to calculate. More... | |
std::unique_ptr < Utils::AtomCollection > | getStructure () const override |
Gets the molecular structure as a const Utils::AtomCollection&. More... | |
void | modifyPositions (Utils::PositionCollection newPositions) override |
Allows to modify the positions of the underlying Utils::AtomCollection. More... | |
const Utils::PositionCollection & | getPositions () const override |
Getter for the coordinates of the underlying Utils::AtomCollection. | |
void | setRequiredProperties (const Utils::PropertyList &requiredProperties) override |
Sets the properties to calculate. More... | |
Utils::PropertyList | getRequiredProperties () const override |
Getter for the properties to calculate. | |
Utils::PropertyList | possibleProperties () const override |
Returns the list of the possible properties to calculate. | |
const Utils::Results & | calculate (std::string description) override |
The main function running calculations. More... | |
std::string | name () const override |
Getter for the name of the Calculator. More... | |
Utils::Settings & | settings () override |
Accessor for the settings. More... | |
const Utils::Settings & | settings () const override |
Constant accessor for the settings. More... | |
Utils::Results & | results () override |
Accessor for the saved instance of Utils::Results. More... | |
const Utils::Results & | results () const override |
Constant accessor for the Utils::Results. More... | |
bool | supportsMethodFamily (const std::string &methodFamily) const override |
Whether the calculator supports a method family. More... | |
std::shared_ptr< Core::State > | getState () const final |
Implements Core::StateHandableObject::getState(). More... | |
void | loadState (std::shared_ptr< Core::State >) final |
Implements Core::StateHandableObject::loadState(). More... | |
bool | allowsPythonGILRelease () const override |
Whether the calculator has no underlying Python code and can therefore release the global interpreter lock in Python bindings. | |
std::shared_ptr < MolecularMechanics::MolecularMechanicsCalculator > | getMolecularMechanicsCalculator () |
Getter for the MM calculator. More... | |
std::shared_ptr< Core::Calculator > | getQuantumMechanicsCalculator () |
Getter for the QM calculator. More... | |
Public Member Functions inherited from Scine::Utils::CloneInterface< QmmmCalculator, Core::EmbeddingCalculator, Core::Calculator > | |
std::shared_ptr< QmmmCalculator > | clone () const |
Static Public Attributes | |
static constexpr const char * | model = "QM-SFAM" |
Calculator implementing the QM/MM method.
|
override |
The main function running calculations.
description | The calculation description. |
std::shared_ptr< MolecularMechanics::MolecularMechanicsCalculator > Scine::Qmmm::QmmmCalculator::getMolecularMechanicsCalculator | ( | ) |
Getter for the MM calculator.
std::shared_ptr< Core::Calculator > Scine::Qmmm::QmmmCalculator::getQuantumMechanicsCalculator | ( | ) |
Getter for the QM calculator.
|
final |
Implements Core::StateHandableObject::getState().
|
override |
Gets the molecular structure as a const Utils::AtomCollection&.
|
final |
Implements Core::StateHandableObject::loadState().
state | The new state. |
|
override |
Allows to modify the positions of the underlying Utils::AtomCollection.
newPositions | The new positions to be assigned to the underlying Utils::AtomCollection. |
|
override |
Getter for the name of the Calculator.
|
override |
Accessor for the saved instance of Utils::Results.
|
override |
Constant accessor for the Utils::Results.
|
override |
Sets the properties to calculate.
requiredProperties | A Utils::PropertyList, a sequence of bits that represent the properties that must be calculated. |
|
override |
Changes the molecular structure to calculate.
structure | A new Utils::AtomCollection to save. |
|
override |
Accessor for the settings.
|
override |
Constant accessor for the settings.
|
override |
Whether the calculator supports a method family.
methodFamily | Identifier for the method family. |