Scine::Swoose
2.1.0
This is the SCINE module Swoose.
|
Calculator for the SFAM Molecular Mechanics method. More...
#include <SfamMolecularMechanicsCalculator.h>
Public Member Functions | |
SfamMolecularMechanicsCalculator () | |
Constructor. | |
~SfamMolecularMechanicsCalculator () override=default | |
Default Destructor. | |
SfamMolecularMechanicsCalculator (const SfamMolecularMechanicsCalculator &rhs) | |
Copy Constructor. | |
void | setStructure (const Utils::AtomCollection &structure) override |
Changes the molecular structure to calculate. More... | |
void | modifyPositions (Utils::PositionCollection newPositions) override |
Allows to modify the positions of the underlying Utils::AtomCollection. More... | |
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... | |
Public Member Functions inherited from Scine::Utils::CloneInterface< SfamMolecularMechanicsCalculator, MolecularMechanicsCalculator, Core::Calculator > | |
std::shared_ptr < SfamMolecularMechanicsCalculator > | clone () const |
Static Public Attributes | |
static constexpr const char * | model = "SFAM" |
Friends | |
class | MMParametrization::UpdateFunctionManager |
class | Qmmm::InteractionTermEliminator |
Calculator for the SFAM Molecular Mechanics method.
Note: First call the constructor, then set parameter and connectivity files in the settings and after that one can call "setStructure", because "setStructure" does the initialization, which reads in the parameters and connectivity from the previously specified files.
|
override |
The main function running calculations.
description | The calculation description. |
|
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 |
Changes the molecular structure to calculate.
structure | A new Utils::AtomCollection to save. |