|
Scine::Swoose
2.0.0
This is the SCINE module Swoose.
|
Base class for the MM methods (currently: SFAM and GAFF). More...
#include <MolecularMechanicsCalculator.h>


Public Member Functions | |
| MolecularMechanicsCalculator ()=default | |
| Default Constructor. | |
| virtual | ~MolecularMechanicsCalculator () override=default |
| Default Destructor. | |
| MolecularMechanicsCalculator (const MolecularMechanicsCalculator &rhs) | |
| 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. | |
| 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... | |
| const std::vector< double > & | atomicCharges () const |
| Const accessor for the atomic charges. | |
|
const std::vector< std::list < int > > & | listsOfNeighbors () const |
| Const accessor for the lists of neighbors (the connectivity of the molecular system). | |
| bool | allowsPythonGILRelease () const override |
| Whether the calculator has no underlying Python code and can therefore release the global interpreter lock in Python bindings. | |
Public Member Functions inherited from Scine::Utils::CloneInterface< Utils::Abstract< MolecularMechanicsCalculator >, Core::Calculator > | |
|
std::shared_ptr < Utils::Abstract < MolecularMechanicsCalculator > > | clone () const |
Protected Attributes | |
| std::unique_ptr< Utils::Settings > | settings_ |
| Utils::AtomCollection | structure_ |
| Utils::PropertyList | requiredProperties_ |
| Utils::Results | results_ |
| std::vector< std::list< int > > | listsOfNeighbors_ |
| std::vector< double > | atomicCharges_ |
Base class for the MM methods (currently: SFAM and GAFF).
|
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 |
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 |
Accessor for the settings.
|
override |
Constant accessor for the settings.
|
override |
Whether the calculator supports a method family.
| methodFamily | Identifier for the method family. |